Struct GoAwayFrame
- Namespace
- Fluxzy.Clients.H2.Frames
- Assembly
- Fluxzy.Core.dll
public readonly ref struct GoAwayFrame
- Inherited Members
-
Constructors
GoAwayFrame(int, H2ErrorCode)
public GoAwayFrame(int lastStreamId, H2ErrorCode errorCode)
Parameters
lastStreamId
int
errorCode
H2ErrorCode
GoAwayFrame(ReadOnlySpan<byte>)
public GoAwayFrame(ReadOnlySpan<byte> bodyBytes)
Parameters
bodyBytes
ReadOnlySpan<byte>
Properties
BodyLength
public int BodyLength { get; }
Property Value
- int
ErrorCode
public H2ErrorCode ErrorCode { get; }
Property Value
- H2ErrorCode
LastStreamId
public int LastStreamId { get; }
Property Value
- int
Methods
Write(Span<byte>)
public int Write(Span<byte> buffer)
Parameters
buffer
Span<byte>
Returns
- int