Class HeaderEncoder
public class HeaderEncoder
- Inheritance
-
HeaderEncoder
- Inherited Members
Constructors
HeaderEncoder(HPackEncoder, HPackDecoder, H2StreamSetting)
public HeaderEncoder(HPackEncoder hPackEncoder, HPackDecoder hPackDecoder, H2StreamSetting streamSetting)
Parameters
hPackEncoder
HPackEncoderhPackDecoder
HPackDecoderstreamSetting
H2StreamSetting
Properties
Decoder
public HPackDecoder Decoder { get; }
Property Value
Encoder
public HPackEncoder Encoder { get; }
Property Value
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
Encode(HeaderEncodingJob, RsBuffer, bool)
InternalApply header + hpack to headerbuffer
public ReadOnlyMemory<byte> Encode(HeaderEncodingJob encodingJob, RsBuffer destinationBuffer, bool endStream)
Parameters
encodingJob
HeaderEncodingJobdestinationBuffer
RsBufferendStream
bool