C# 클래스 System.ServiceModel.Http2Protocol.Http2Stream

Http2 stream that runs inside Http2Protocol.
파일 보기 프로젝트 열기: MSOpenTech/HTTP-SPEED-PLUS-MOBILITY 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the stream.

Close ( StatusCode reason ) : void

Closes the stream with specified reason.

Http2Stream ( int id, ProtocolSession session )

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

메소드 상세

Close() 공개 메소드

Closes the stream.
public Close ( ) : void
리턴 void

Close() 공개 메소드

Closes the stream with specified reason.
public Close ( StatusCode reason ) : void
reason StatusCode The reason.
리턴 void

Http2Stream() 공개 메소드

Initializes a new instance of the Http2Stream class.
public Http2Stream ( int id, ProtocolSession session )
id int The stream id.
session ProtocolSession The stream session.

SendData() 공개 메소드

Sends the data to the stream.
public SendData ( System.ServiceModel.Http2Protocol.ProtocolData data, bool isFin ) : void
data System.ServiceModel.Http2Protocol.ProtocolData The data.
isFin bool if set to true than this stream will be half-closed.
리턴 void

SendHeaders() 공개 메소드

Sends the headers to the stream.
public SendHeaders ( ProtocolHeaders headers, bool isFin ) : void
headers ProtocolHeaders The headers.
isFin bool if set to true than this stream will be half-closed.
리턴 void

SendRST() 공개 메소드

Sends the RST to the stream.
public SendRST ( StatusCode reason ) : void
reason StatusCode The reason.
리턴 void

SendWindowUpdate() 공개 메소드

Send the WindowUpdate frame to the stream.
public SendWindowUpdate ( Int64 windowAddition ) : void
windowAddition Int64
리턴 void

UpdateWindowBalance() 공개 메소드

Updates the window balance.
public UpdateWindowBalance ( Int64 deltaWindowSize ) : void
deltaWindowSize Int64 Size of the delta window.
리턴 void