Table of Contents

Class HeaderEncoder

Namespace
Fluxzy.Clients.H2
Assembly
Fluxzy.Core.dll
public class HeaderEncoder
Inheritance
HeaderEncoder
Inherited Members

Constructors

HeaderEncoder(HPackEncoder, HPackDecoder, H2StreamSetting)

public HeaderEncoder(HPackEncoder hPackEncoder, HPackDecoder hPackDecoder, H2StreamSetting streamSetting)

Parameters

hPackEncoder HPackEncoder
hPackDecoder HPackDecoder
streamSetting H2StreamSetting

Properties

Decoder

public HPackDecoder Decoder { get; }

Property Value

HPackDecoder

Encoder

public HPackEncoder Encoder { get; }

Property Value

HPackEncoder

Methods

Decode(ReadOnlyMemory<byte>, Memory<char>)

Remove hpack

public ReadOnlyMemory<char> Decode(ReadOnlyMemory<byte> encodedBuffer, Memory<char> destinationBuffer)

Parameters

encodedBuffer ReadOnlyMemory<byte>
destinationBuffer Memory<char>

Returns

ReadOnlyMemory<char>

Encode(HeaderEncodingJob, RsBuffer, bool)

InternalApply header + hpack to headerbuffer

public ReadOnlyMemory<byte> Encode(HeaderEncodingJob encodingJob, RsBuffer destinationBuffer, bool endStream)

Parameters

encodingJob HeaderEncodingJob
destinationBuffer RsBuffer
endStream bool

Returns

ReadOnlyMemory<byte>