Table of Contents

Class HPackEncoder

Namespace
Fluxzy.Clients.H2.Encoder
Assembly
Fluxzy.Core.dll
public class HPackEncoder : IDisposable
Inheritance
HPackEncoder
Implements
Inherited Members

Properties

Context

public EncodingContext Context { get; }

Property Value

EncodingContext

Methods

Create(CodecSetting)

public static HPackEncoder Create(CodecSetting codeSetting)

Parameters

codeSetting CodecSetting

Returns

HPackEncoder

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Encode(ReadOnlyMemory<char>, Span<byte>, bool)

public ReadOnlySpan<byte> Encode(ReadOnlyMemory<char> headerContent, Span<byte> buffer, bool isHttps = true)

Parameters

headerContent ReadOnlyMemory<char>
buffer Span<byte>
isHttps bool

Returns

ReadOnlySpan<byte>

GetEncodedLength(ReadOnlyMemory<char>, bool)

public int GetEncodedLength(ReadOnlyMemory<char> headerContent, bool isHttps = true)

Parameters

headerContent ReadOnlyMemory<char>
isHttps bool

Returns

int