Class HPackEncoder
public class HPackEncoder : IDisposable
- Inheritance
-
HPackEncoder
- Implements
- Inherited Members
Properties
Context
public EncodingContext Context { get; }
Property Value
Methods
Create(CodecSetting)
public static HPackEncoder Create(CodecSetting codeSetting)
Parameters
codeSettingCodecSetting
Returns
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
headerContentReadOnlyMemory<char>bufferSpan<byte>isHttpsbool
Returns
GetEncodedLength(ReadOnlyMemory<char>, bool)
public int GetEncodedLength(ReadOnlyMemory<char> headerContent, bool isHttps = true)
Parameters
headerContentReadOnlyMemory<char>isHttpsbool