Property | Type | Description | |
---|---|---|---|
Reader |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetFrameBytes ( bool compress, int compressTreshold ) : |
Gets the frame bytes.
|
|
WaitOnBodyRead ( ) : Task |
Completes when the frame body is read
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
InitializeAsync ( ) : Task |
Initialize frame contents from the stream
|
|
WriteData ( Stream buffer ) : void |
Writes the data to buffer.
|
Method | 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.
|
public GetFrameBytes ( bool compress, int compressTreshold ) : |
||
compress | bool | |
compressTreshold | int | |
return |
protected abstract InitializeAsync ( ) : Task | ||
return | Task |
protected abstract WriteData ( Stream buffer ) : void | ||
buffer | Stream | The buffer. |
return | void |