Property | Type | Description | |
---|---|---|---|
Version | short |
Method | Description | |
---|---|---|
Close ( StatusCode reason, int lastSeenStreamId ) : void |
Initiates the Http2 close handshake.
|
|
Connect ( ) : bool |
Initializes connection to the remote host.
|
|
SendData ( |
Sends the data.
|
|
SendGoAway ( int lastSeenStreamId, StatusCode reason ) : void |
Sends the GoAway stream.
|
|
SendHeaders ( |
Sends the headers.
|
|
SendPing ( int streamId ) : void |
Sends the ping.
|
|
SendRST ( |
Sends the RST.
|
|
SendRST ( int streamId, StatusCode reason ) : void |
Sends the RST.
|
|
SendSettings ( |
||
SendSynReply ( |
||
SendSynStream ( |
Sends the syn stream request.
|
|
SendWindowUpdate ( |
Sends the window update request.
|
|
SendWindowUpdate ( int streamId, Int64 windowAddition ) : void |
Sends the window update request.
|
|
SendWindowUpdate ( int deltaSize, int streamId ) : void |
Sends the WindowUpdate frame.
|
|
SetProcessors ( List |
Sets the frames processors.
|
Method | Description | |
---|---|---|
ApplyProtocolSelectionResults ( string selectedProtocol ) : void | ||
CloseInternal ( StatusCode reason, int lastSeenStreamId, bool sendGoAway ) : void |
Closes connection to the remote host.
|
|
CreateSocketByUri ( Uri uri ) : SecureSocket | ||
Dispose ( ) : void | ||
FillBuffer ( byte buffer, int filledBytesCount ) : bool |
Fills the given buffer with bytes.
|
|
HandshakeFinishedHandler ( object sender, EventArgs args ) : void | ||
Http2Protocol ( SecureSocket socket, IStreamStore streamsStore, |
||
Http2Protocol ( Uri uri, IStreamStore streamsStore ) : System.Collections.Generic |
Initializes a new instance of the Http2Protocol class.
|
|
Http2Protocol ( Uri uri, IStreamStore streamsStore, |
Initializes a new instance of the Http2Protocol class.
|
|
OnSocketData ( object sender, SocketEventArgs e ) : void |
Event handler for Http2 data.
|
|
OnSocketOpen ( object sender, EventArgs e ) : void |
Event handler for Socket open.
|
|
OnSocketPing ( object sender, EventArgs e ) : void |
Event handler for Protocol Ping.
|
|
ProcessControlFrame ( |
Process Protocol control frame.
|
|
ProcessDataFrame ( System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame frame ) : void |
Process Protocol Data frame.
|
|
ProcessMessages ( Object stateInfo ) : void |
Processes the messages.
|
|
Receive ( byte message ) : int | ||
ReceiveData ( ) : byte[] |
Receives the data.
|
|
SendFrame ( |
Sends the frame.
|
|
SendFrame ( |
Sends the data.
|
|
SendMessage ( byte message ) : void | ||
SocketOnClose ( object sender, SocketCloseEventArgs e ) : void |
public Close ( StatusCode reason, int lastSeenStreamId ) : void | ||
reason | StatusCode | the status code. |
lastSeenStreamId | int | the last stream id. |
return | void |
public SendData ( |
||
stream | The stream. | |
data | System.ServiceModel.Http2Protocol.ProtocolData | The data. |
isFin | bool | FIN flag. |
return | void |
public SendGoAway ( int lastSeenStreamId, StatusCode reason ) : void | ||
lastSeenStreamId | int | The last seen stream id. |
reason | StatusCode | The reason of GoAway. |
return | void |
public SendHeaders ( |
||
stream | The stream. | |
headers | ProtocolHeaders | The headers. |
isFin | bool | FIN flag. |
return | void |
public SendRST ( |
||
stream | The stream. | |
reason | StatusCode | The reason for RST. |
return | void |
public SendRST ( int streamId, StatusCode reason ) : void | ||
streamId | int | The stream id. |
reason | StatusCode | The reason for RST. |
return | void |
public SendSettings ( |
||
stream | ||
return | void |
public SendSynReply ( |
||
stream | ||
return | void |
public SendSynStream ( |
||
stream | The stream. | |
headers | ProtocolHeaders | The headers. |
isFin | bool | FIN flag. |
return | void |
public SendWindowUpdate ( |
||
stream | The stream. | |
windowAddition | Int64 | |
return | void |
public SendWindowUpdate ( int streamId, Int64 windowAddition ) : void | ||
streamId | int | The stream id. |
windowAddition | Int64 | |
return | void |
public SendWindowUpdate ( int deltaSize, int streamId ) : void | ||
deltaSize | int | |
streamId | int | |
return | void |
public SetProcessors ( List |
||
processors | List |
The processors. |
return | void |