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
codeSetting
CodecSetting
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
headerContent
ReadOnlyMemory<char>buffer
Span<byte>isHttps
bool
Returns
GetEncodedLength(ReadOnlyMemory<char>, bool)
public int GetEncodedLength(ReadOnlyMemory<char> headerContent, bool isHttps = true)
Parameters
headerContent
ReadOnlyMemory<char>isHttps
bool