Request Class

Namespace
Microsoft.Net.Http.Server
Assemblies
  • Microsoft.Net.Http.Server

Syntax

public sealed class Request
class Microsoft.Net.Http.Server.Request

Properties

Microsoft.Net.Http.Server.Request.Body
Return type:System.IO.Stream
public Stream Body { get; }
Microsoft.Net.Http.Server.Request.ConnectionId
Return type:System.UInt64
public ulong ConnectionId { get; }
Microsoft.Net.Http.Server.Request.ContentLength
Return type:System.Nullable<System.Int64>
public long ? ContentLength { get; }
Microsoft.Net.Http.Server.Request.ContentType
Return type:System.String
public string ContentType { get; }
Microsoft.Net.Http.Server.Request.HasEntityBody
Return type:System.Boolean
public bool HasEntityBody { get; }
Microsoft.Net.Http.Server.Request.Headers
Return type:Microsoft.Net.Http.Server.HeaderCollection
public HeaderCollection Headers { get; }
Microsoft.Net.Http.Server.Request.IsHeadMethod
Return type:System.Boolean
public bool IsHeadMethod { get; }
Microsoft.Net.Http.Server.Request.IsSecureConnection
Return type:System.Boolean
public bool IsSecureConnection { get; }
Microsoft.Net.Http.Server.Request.LocalIpAddress
Return type:System.Net.IPAddress
public IPAddress LocalIpAddress { get; }
Microsoft.Net.Http.Server.Request.LocalPort
Return type:System.Int32
public int LocalPort { get; }
Microsoft.Net.Http.Server.Request.Method
Return type:System.String
public string Method { get; }
Microsoft.Net.Http.Server.Request.Path
Return type:System.String
public string Path { get; }
Microsoft.Net.Http.Server.Request.PathBase
Return type:System.String
public string PathBase { get; }
Microsoft.Net.Http.Server.Request.ProtocolVersion
Return type:System.Version
public Version ProtocolVersion { get; }
Microsoft.Net.Http.Server.Request.QueryString
Return type:System.String
public string QueryString { get; set; }
Microsoft.Net.Http.Server.Request.RawUrl
Return type:System.String
public string RawUrl { get; }
Microsoft.Net.Http.Server.Request.RemoteIpAddress
Return type:System.Net.IPAddress
public IPAddress RemoteIpAddress { get; }
Microsoft.Net.Http.Server.Request.RemotePort
Return type:System.Int32
public int RemotePort { get; }
Microsoft.Net.Http.Server.Request.Scheme
Return type:System.String
public string Scheme { get; }

Methods

GetClientCertificateAsync(System.Threading.CancellationToken)
Return type:System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
public Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken = null)
GetProvidedTokenBindingId()
Return type:System.Byte<System.Byte>[]
public byte[] GetProvidedTokenBindingId()
GetReferredTokenBindingId()
Return type:System.Byte<System.Byte>[]
public byte[] GetReferredTokenBindingId()