// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.AspNet.Http.Features { public interface ISession { void Load(); void Commit(); bool TryGetValue(string key, out byte[] value); void Set(string key, ArraySegment value); void Remove(string key); void Clear(); IEnumerable Keys { get; } } }