C# 클래스 System.ServiceModel.Http2Protocol.ProtocolFrames.FrameBuilder

Class that incapsulates frame building logic.
파일 보기 프로젝트 열기: MSOpenTech/HTTP-SPEED-PLUS-MOBILITY 1 사용 예제들

공개 메소드들

메소드 설명
BuildDataFrame ( Http2Stream stream, ProtocolData data ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

Builds the data frame.

BuildDataFrame ( Http2Stream stream, ProtocolData data, bool final ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

Builds the data frame.

BuildDataFrame ( int streamId, ProtocolData data ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

Builds the data frame.

BuildGoAwayFrame ( int lastSeenGoodStreamId, StatusCode reason ) : System.ServiceModel.Http2Protocol.ProtocolFrames.GoAwayFrame

Builds the GoAway frame.

BuildHeadersFrame ( Http2Stream stream, ProtocolHeaders headers, bool final ) : ControlFrame

Builds the headers frame.

BuildPingFrame ( int streamId ) : ControlFrame

Builds the Ping frame.

BuildRSTFrame ( Http2Stream stream, StatusCode reason ) : ControlFrame

Builds the RST Frame.

BuildRSTFrame ( int streamId, StatusCode reason ) : ControlFrame

Builds the RST Frame.

BuildSettingsFrame ( Http2Stream stream ) : ControlFrame
BuildSynReplyFrame ( Http2Stream stream, ProtocolHeaders headers ) : ControlFrame

Builds the SYN_REPLY frame.

BuildSynReplyFrame ( int streamId, ProtocolHeaders headers ) : ControlFrame

Builds the SYN_REPLY frame.

BuildSynStreamFrame ( Http2Stream stream, ProtocolHeaders headers, bool final ) : ControlFrame

Builds the SYN_STREAM frame.

BuildSynStreamFrame ( int streamId, ProtocolHeaders headers ) : ControlFrame

Builds the SYN_STREAM frame.

BuildWindowUpdateFrame ( Http2Stream stream, Int64 deltaSize ) : WindowUpdateFrame
BuildWindowUpdateFrame ( int streamId, Int64 deltaSize ) : WindowUpdateFrame

Builds the WindowUpdate Frame.

비공개 메소드들

메소드 설명
BuildControlFrame ( FrameType type, Http2Stream stream, ProtocolHeaders headers ) : ControlFrame

Builds the control frame.

BuildControlFrame ( FrameType type, int streamId, ProtocolHeaders headers ) : ControlFrame

Builds the control frame.

메소드 상세

BuildDataFrame() 공개 메소드

Builds the data frame.
public BuildDataFrame ( Http2Stream stream, ProtocolData data ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame
stream Http2Stream The stream.
data ProtocolData The data.
리턴 System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

BuildDataFrame() 공개 메소드

Builds the data frame.
public BuildDataFrame ( Http2Stream stream, ProtocolData data, bool final ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame
stream Http2Stream The stream.
data ProtocolData The data.
final bool if set to true than this frame is final for the stream.
리턴 System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

BuildDataFrame() 공개 메소드

Builds the data frame.
public BuildDataFrame ( int streamId, ProtocolData data ) : System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame
streamId int The stream id.
data ProtocolData The data.
리턴 System.ServiceModel.Http2Protocol.ProtocolFrames.DataFrame

BuildGoAwayFrame() 공개 메소드

Builds the GoAway frame.
public BuildGoAwayFrame ( int lastSeenGoodStreamId, StatusCode reason ) : System.ServiceModel.Http2Protocol.ProtocolFrames.GoAwayFrame
lastSeenGoodStreamId int The last seen good stream id.
reason StatusCode The reason of GoAway.
리턴 System.ServiceModel.Http2Protocol.ProtocolFrames.GoAwayFrame

BuildHeadersFrame() 공개 메소드

Builds the headers frame.
public BuildHeadersFrame ( Http2Stream stream, ProtocolHeaders headers, bool final ) : ControlFrame
stream Http2Stream The stream.
headers ProtocolHeaders The headers.
final bool if set to true than this frame is final for the stream.
리턴 ControlFrame

BuildPingFrame() 공개 메소드

Builds the Ping frame.
public BuildPingFrame ( int streamId ) : ControlFrame
streamId int
리턴 ControlFrame

BuildRSTFrame() 공개 메소드

Builds the RST Frame.
public BuildRSTFrame ( Http2Stream stream, StatusCode reason ) : ControlFrame
stream Http2Stream The stream.
reason StatusCode The reason for RST.
리턴 ControlFrame

BuildRSTFrame() 공개 메소드

Builds the RST Frame.
public BuildRSTFrame ( int streamId, StatusCode reason ) : ControlFrame
streamId int The stream id.
reason StatusCode The reason for RST.
리턴 ControlFrame

BuildSettingsFrame() 공개 메소드

public BuildSettingsFrame ( Http2Stream stream ) : ControlFrame
stream Http2Stream
리턴 ControlFrame

BuildSynReplyFrame() 공개 메소드

Builds the SYN_REPLY frame.
public BuildSynReplyFrame ( Http2Stream stream, ProtocolHeaders headers ) : ControlFrame
stream Http2Stream The stream.
headers ProtocolHeaders The headers.
리턴 ControlFrame

BuildSynReplyFrame() 공개 메소드

Builds the SYN_REPLY frame.
public BuildSynReplyFrame ( int streamId, ProtocolHeaders headers ) : ControlFrame
streamId int The stream id.
headers ProtocolHeaders The headers.
리턴 ControlFrame

BuildSynStreamFrame() 공개 메소드

Builds the SYN_STREAM frame.
public BuildSynStreamFrame ( Http2Stream stream, ProtocolHeaders headers, bool final ) : ControlFrame
stream Http2Stream The stream.
headers ProtocolHeaders The headers.
final bool Indicates that stream is not going to send any more data.
리턴 ControlFrame

BuildSynStreamFrame() 공개 메소드

Builds the SYN_STREAM frame.
public BuildSynStreamFrame ( int streamId, ProtocolHeaders headers ) : ControlFrame
streamId int The stream id.
headers ProtocolHeaders The headers.
리턴 ControlFrame

BuildWindowUpdateFrame() 공개 메소드

public BuildWindowUpdateFrame ( Http2Stream stream, Int64 deltaSize ) : WindowUpdateFrame
stream Http2Stream
deltaSize Int64
리턴 WindowUpdateFrame

BuildWindowUpdateFrame() 공개 메소드

Builds the WindowUpdate Frame.
public BuildWindowUpdateFrame ( int streamId, Int64 deltaSize ) : WindowUpdateFrame
streamId int
deltaSize Int64
리턴 WindowUpdateFrame