Свойство | Type | Description | |
---|---|---|---|
Reader |
Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
GetFrameBytes ( bool compress, int compressTreshold ) : |
Gets the frame bytes.
|
|
WaitOnBodyRead ( ) : Task |
Completes when the frame body is read
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
InitializeAsync ( ) : Task |
Initialize frame contents from the stream
|
|
WriteData ( Stream buffer ) : void |
Writes the data to buffer.
|
Méthode | Description | |
---|---|---|
FromStream ( Stream stream ) : Task |
Reads a packet from a stream.
|
|
GetFrameFromOpcode ( byte protocolVersion, FrameOpcode opcode ) : |
Gets the frame from opcode.
|
|
PrepareAndInitializeContentAsync ( ) : Task |
Prepares the reader/content and initializes content asynchronous.
|
|
ReadFrameContentAsync ( ) : Task |
Reads the frame content asynchronous.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public GetFrameBytes ( bool compress, int compressTreshold ) : |
||
compress | bool | |
compressTreshold | int | |
Résultat |
protected abstract InitializeAsync ( ) : Task | ||
Résultat | Task |
protected abstract WriteData ( Stream buffer ) : void | ||
buffer | Stream | The buffer. |
Résultat | void |