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

Inheritance: Stream
Afficher le fichier Open project: Starcounter/KestrelHttpServer Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ReadAsync ( ArraySegment buffer ) : Task

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

LibuvStream() public méthode

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

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadAsync() public méthode

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

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

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