// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Security.Principal; namespace Microsoft.AspNet.SignalR { /// /// Represents a SignalR request /// public interface IRequest { /// /// Gets the url for this request. /// Uri Url { get; } /// /// Gets the querystring for this request. /// NameValueCollection QueryString { get; } /// /// Gets the headers for this request. /// NameValueCollection Headers { get; } /// /// Gets the form for this request. /// NameValueCollection Form { get; } /// /// Gets the cookies for this request. /// IDictionary Cookies { get; } /// /// Gets security information for the current HTTP request. /// IPrincipal User { get; } /// /// Gets state for the current HTTP request. /// IDictionary Items { get; } } }