mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
imported signalr 1.1.3 into NzbDrone.
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
// 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;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.SignalR
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a SignalR request
|
||||
/// </summary>
|
||||
public interface IRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the url for this request.
|
||||
/// </summary>
|
||||
Uri Url { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the querystring for this request.
|
||||
/// </summary>
|
||||
NameValueCollection QueryString { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the headers for this request.
|
||||
/// </summary>
|
||||
NameValueCollection Headers { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the form for this request.
|
||||
/// </summary>
|
||||
NameValueCollection Form { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the cookies for this request.
|
||||
/// </summary>
|
||||
IDictionary<string, Cookie> Cookies { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets security information for the current HTTP request.
|
||||
/// </summary>
|
||||
IPrincipal User { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets state for the current HTTP request.
|
||||
/// </summary>
|
||||
IDictionary<string, object> Items { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user