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

This is a write-only stream that copies what is written into a SocketInput object. This is used as an argument to Stream.CopyToAsync(Stream) so input filtered by a ConnectionFilter (e.g. SslStream) can be consumed by Frame.
Inheritance: Stream
Datei anzeigen Open project: Starcounter/KestrelHttpServer

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
SocketInputStream ( SocketInput socketInput ) : System
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken token ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

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

SocketInputStream() public method

public SocketInputStream ( SocketInput socketInput ) : System
socketInput Microsoft.AspNet.Server.Kestrel.Http.SocketInput
return System

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