- Namespace
- Fluxzy.Clients.H2.Frames
- Assembly
- Fluxzy.Core.dll
public readonly ref struct HeadersFrame
- Inherited Members
-
Constructors
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
public HeadersFrame(ReadOnlyMemory<byte> bodyBytes, HeaderFlags flags)
Parameters
bodyBytes
ReadOnlyMemory<byte>
flags
HeaderFlags
Properties
BodyLength
public int BodyLength { get; }
Property Value
- int
public ReadOnlyMemory<byte> Data { get; }
Property Value
- ReadOnlyMemory<byte>
public bool EndHeaders { get; }
Property Value
- bool
public bool EndStream { get; }
Property Value
- bool
public bool Exclusive { get; }
Property Value
- bool
public byte PadLength { get; }
Property Value
- byte
public bool Padded { get; }
Property Value
- bool
public bool Priority { get; }
Property Value
- bool
public int StreamDependency { get; }
Property Value
- int
public byte Weight { get; }
Property Value
- byte
Methods
public int Write(Span<byte> buffer, ReadOnlySpan<byte> payload = default)
Parameters
buffer
Span<byte>
payload
ReadOnlySpan<byte>
Returns
- int