Interface IRequest
Assembly: MediaBrowser.Model.dll
public interface IRequest
Properties
Declaration
string AbsoluteUri { get; }
Property Value
The value of the Accept HTTP Request Header
Declaration
Property Value
Declaration
string[] AcceptTypes { get; }
Property Value
The value of the Authorization Header used to send the Api Key, null if not available
Declaration
string Authorization { get; }
Property Value
Declaration
CancellationToken CancellationToken { get; }
Property Value
Declaration
string ConnectionId { get; }
Property Value
ContentLength
Declaration
long ContentLength { get; }
Property Value
ContentType
Declaration
string ContentType { get; }
Property Value
The Request DTO, after it has been deserialized.
Declaration
Property Value
Access to the multi-part/formdata files posted on this request
Declaration
IHttpFile[] Files { get; }
Property Value
Declaration
QueryParamCollection Headers { get; }
Property Value
Declaration
string HttpMethod { get; }
Property Value
Declaration
Stream InputStream { get; }
Property Value
Declaration
Property Value
Declaration
bool IsSecureConnection { get; }
Property Value
Declaration
bool IsSocketConnectionLocal { get; }
Property Value
Declaration
Property Value
Declaration
Property Value
Declaration
QueryParamCollection QueryString { get; }
Property Value
Declaration
Property Value
The Remote Ip as reported by X-Forwarded-For, X-Real-IP or Request.UserHostAddress
Declaration
IPAddress RemoteIp { get; }
Property Value
Declaration
int RemoteSocketPort { get; }
Property Value
Declaration
IResponse Response { get; }
Property Value
ResponseContentType
The expected Response ContentType for this request
Declaration
string ResponseContentType { get; set; }
Property Value
Declaration
string UserAgent { get; }
Property Value
The Verb / HttpMethod or Action for this request
Declaration
Property Value
The IP Address of the X-Forwarded-For header, null if null or empty
Declaration
string XForwardedFor { get; }
Property Value
The Port number of the X-Forwarded-Port header, null if null or empty
Declaration
int? XForwardedPort { get; }
Property Value
The http or https scheme of the X-Forwarded-Proto header, null if null or empty
Declaration
string XForwardedProtocol { get; }
Property Value
The value of the X-Real-IP header, null if null or empty
Declaration
Property Value
Methods
Declaration
Task<QueryParamCollection> GetFormData()
Returns
Declaration
Returns
Declaration
Task<bool> IsInLocalNetwork(CancellationToken cancellationToken)
Parameters
Returns
Extension Methods