Метод | Описание | |
---|---|---|
Close ( ) : void |
Closes the stream.
|
|
Close ( StatusCode reason ) : void |
Closes the stream with specified reason.
|
|
Http2Stream ( int id, |
Initializes a new instance of the Http2Stream class.
|
|
SendData ( System.ServiceModel.Http2Protocol.ProtocolData data, bool isFin ) : void |
Sends the data to the stream.
|
|
SendHeaders ( ProtocolHeaders headers, bool isFin ) : void |
Sends the headers to the stream.
|
|
SendRST ( StatusCode reason ) : void |
Sends the RST to the stream.
|
|
SendWindowUpdate ( Int64 windowAddition ) : void |
Send the WindowUpdate frame to the stream.
|
|
UpdateWindowBalance ( Int64 deltaWindowSize ) : void |
Updates the window balance.
|
Метод | Описание | |
---|---|---|
OnProtocolData ( object sender, System.ServiceModel.Http2Protocol.StreamEventArgs e ) : void |
Event handler for protocol data.
|
|
OnSessionFrame ( object sender, ControlFrameEventArgs e ) : void |
Event handler for Session frame.
|
|
OnStreamError ( object sender, System.ServiceModel.Http2Protocol.StreamErrorEventArgs e ) : void |
Event handler for Stream error.
|
|
OpenClient ( ProtocolHeaders headers, bool isFin ) : void |
Opens the stream.
|
|
OpenServer ( ProtocolHeaders headers, bool isFin ) : void |
public Close ( StatusCode reason ) : void | ||
reason | StatusCode | The reason. |
Результат | void |
public Http2Stream ( int id, |
||
id | int | The stream id. |
session | The stream session. |
public SendData ( System.ServiceModel.Http2Protocol.ProtocolData data, bool isFin ) : void | ||
data | System.ServiceModel.Http2Protocol.ProtocolData | The data. |
isFin | bool | if set to |
Результат | void |
public SendHeaders ( ProtocolHeaders headers, bool isFin ) : void | ||
headers | ProtocolHeaders | The headers. |
isFin | bool | if set to |
Результат | void |
public SendRST ( StatusCode reason ) : void | ||
reason | StatusCode | The reason. |
Результат | void |
public SendWindowUpdate ( Int64 windowAddition ) : void | ||
windowAddition | Int64 | |
Результат | void |
public UpdateWindowBalance ( Int64 deltaWindowSize ) : void | ||
deltaWindowSize | Int64 | Size of the delta window. |
Результат | void |