C# Class Microsoft.AspNet.Server.Kestrel.Filter.LibuvStream

Inheritance: Stream
Show file Open project: Starcounter/KestrelHttpServer Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
LibuvStream ( SocketInput input, ISocketOutput output ) : System
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken token ) : Task

Private Methods

Method Description
ReadAsync ( ArraySegment buffer ) : Task

Method Details

Flush() public method

public Flush ( ) : void
return void

LibuvStream() public method

public LibuvStream ( SocketInput input, ISocketOutput output ) : System
input Microsoft.AspNet.Server.Kestrel.Http.SocketInput
output ISocketOutput
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadAsync() public method

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return Task

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int count, CancellationToken token ) : Task
buffer byte
offset int
count int
token System.Threading.CancellationToken
return Task