Свойство | Type | Description | |
---|---|---|---|
Version | short |
Méthode | 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.
|
Méthode | 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. |
Résultat | void |
public SendData ( |
||
stream | The stream. | |
data | System.ServiceModel.Http2Protocol.ProtocolData | The data. |
isFin | bool | FIN flag. |
Résultat | void |
public SendGoAway ( int lastSeenStreamId, StatusCode reason ) : void | ||
lastSeenStreamId | int | The last seen stream id. |
reason | StatusCode | The reason of GoAway. |
Résultat | void |
public SendHeaders ( |
||
stream | The stream. | |
headers | ProtocolHeaders | The headers. |
isFin | bool | FIN flag. |
Résultat | void |
public SendRST ( |
||
stream | The stream. | |
reason | StatusCode | The reason for RST. |
Résultat | void |
public SendRST ( int streamId, StatusCode reason ) : void | ||
streamId | int | The stream id. |
reason | StatusCode | The reason for RST. |
Résultat | void |
public SendSettings ( |
||
stream | ||
Résultat | void |
public SendSynReply ( |
||
stream | ||
Résultat | void |
public SendSynStream ( |
||
stream | The stream. | |
headers | ProtocolHeaders | The headers. |
isFin | bool | FIN flag. |
Résultat | void |
public SendWindowUpdate ( |
||
stream | The stream. | |
windowAddition | Int64 | |
Résultat | void |
public SendWindowUpdate ( int streamId, Int64 windowAddition ) : void | ||
streamId | int | The stream id. |
windowAddition | Int64 | |
Résultat | void |
public SendWindowUpdate ( int deltaSize, int streamId ) : void | ||
deltaSize | int | |
streamId | int | |
Résultat | void |
public SetProcessors ( List |
||
processors | List |
The processors. |
Résultat | void |