Table of Contents

Struct H2FrameReadResult

Namespace
Fluxzy.Clients.H2
Assembly
Fluxzy.Core.dll

We choose not to use a common interface for Http/2 frames to avoid boxing/unboxing.

public readonly struct H2FrameReadResult
Inherited Members
Extension Methods

Constructors

H2FrameReadResult(H2Frame, ReadOnlyMemory<byte>)

public H2FrameReadResult(H2Frame header, ReadOnlyMemory<byte> bodyBytes)

Parameters

header H2Frame
bodyBytes ReadOnlyMemory<byte>

Properties

BodyLength

public int BodyLength { get; }

Property Value

int

BodyType

public H2FrameType BodyType { get; }

Property Value

H2FrameType

Flags

public HeaderFlags Flags { get; }

Property Value

HeaderFlags

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

StreamIdentifier

public int StreamIdentifier { get; }

Property Value

int

Methods

GetContinuationFrame()

public ContinuationFrame GetContinuationFrame()

Returns

ContinuationFrame

GetDataFrame()

public DataFrame GetDataFrame()

Returns

DataFrame

GetGoAwayFrame()

public GoAwayFrame GetGoAwayFrame()

Returns

GoAwayFrame

GetHeadersFrame()

public HeadersFrame GetHeadersFrame()

Returns

HeadersFrame

GetPingFrame()

public PingFrame GetPingFrame()

Returns

PingFrame

GetPriorityFrame()

public PriorityFrame GetPriorityFrame()

Returns

PriorityFrame

GetRstStreamFrame()

public RstStreamFrame GetRstStreamFrame()

Returns

RstStreamFrame

GetWindowUpdateFrame()

public WindowUpdateFrame GetWindowUpdateFrame()

Returns

WindowUpdateFrame

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

TryReadNextSetting(out SettingFrame, ref int)

public bool TryReadNextSetting(out SettingFrame settingFrame, ref int index)

Parameters

settingFrame SettingFrame
index int

Returns

bool