C# Class Microsoft.AspNet.Server.Kestrel.Http.MessageBody

Mostrar archivo Open project: Starcounter/KestrelHttpServer Class Usage Examples

Public Methods

Method Description
For ( string httpVersion, StringValues>.IDictionary headers, FrameContext context ) : MessageBody
ReadAsync ( ArraySegment buffer, CancellationToken cancellationToken = default(CancellationToken) ) : Task
ReadAsyncImplementation ( ArraySegment buffer, CancellationToken cancellationToken ) : Task
TryGet ( StringValues>.IDictionary headers, string name, string &value ) : bool

Protected Methods

Method Description
MessageBody ( FrameContext context ) : System

Method Details

For() public static method

public static For ( string httpVersion, StringValues>.IDictionary headers, FrameContext context ) : MessageBody
httpVersion string
headers StringValues>.IDictionary
context FrameContext
return MessageBody

MessageBody() protected method

protected MessageBody ( FrameContext context ) : System
context FrameContext
return System

ReadAsync() public method

public ReadAsync ( ArraySegment buffer, CancellationToken cancellationToken = default(CancellationToken) ) : Task
buffer ArraySegment
cancellationToken System.Threading.CancellationToken
return Task

ReadAsyncImplementation() public abstract method

public abstract ReadAsyncImplementation ( ArraySegment buffer, CancellationToken cancellationToken ) : Task
buffer ArraySegment
cancellationToken System.Threading.CancellationToken
return Task

TryGet() public static method

public static TryGet ( StringValues>.IDictionary headers, string name, string &value ) : bool
headers StringValues>.IDictionary
name string
value string
return bool