Table of Contents

Struct HeadersFrame

Namespace
Fluxzy.Clients.H2.Frames
Assembly
Fluxzy.Core.dll
public readonly ref struct HeadersFrame
Inherited Members

Constructors

HeadersFrame(bool, byte, bool, bool, bool, byte, bool, int)

public HeadersFrame(bool padded, byte paddedLength, bool priority, bool endHeaders, bool endStream, byte weight, bool exclusive, int streamDependency)

Parameters

padded bool
paddedLength byte
priority bool
endHeaders bool
endStream bool
weight byte
exclusive bool
streamDependency int

HeadersFrame(ReadOnlyMemory<byte>, HeaderFlags)

public HeadersFrame(ReadOnlyMemory<byte> bodyBytes, HeaderFlags flags)

Parameters

bodyBytes ReadOnlyMemory<byte>
flags HeaderFlags

Properties

BodyLength

public int BodyLength { get; }

Property Value

int

Data

public ReadOnlyMemory<byte> Data { get; }

Property Value

ReadOnlyMemory<byte>

EndHeaders

public bool EndHeaders { get; }

Property Value

bool

EndStream

public bool EndStream { get; }

Property Value

bool

Exclusive

public bool Exclusive { get; }

Property Value

bool

PadLength

public byte PadLength { get; }

Property Value

byte

Padded

public bool Padded { get; }

Property Value

bool

Priority

public bool Priority { get; }

Property Value

bool

StreamDependency

public int StreamDependency { get; }

Property Value

int

Weight

public byte Weight { get; }

Property Value

byte

Methods

Write(Span<byte>, ReadOnlySpan<byte>)

public int Write(Span<byte> buffer, ReadOnlySpan<byte> payload = default)

Parameters

buffer Span<byte>
payload ReadOnlySpan<byte>

Returns

int