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