Table of Contents

Class ResponseHeader

Namespace
Fluxzy.Core
Assembly
Fluxzy.Core.dll
public class ResponseHeader : Header
Inheritance
ResponseHeader
Inherited Members

Constructors

ResponseHeader(IEnumerable<HeaderField>)

Building from direct header

public ResponseHeader(IEnumerable<HeaderField> headers)

Parameters

headers IEnumerable<HeaderField>

ResponseHeader(ReadOnlyMemory<char>, bool, bool)

Building from flat header

public ResponseHeader(ReadOnlyMemory<char> headerContent, bool isSecure, bool parseConnectionInfo)

Parameters

headerContent ReadOnlyMemory<char>
isSecure bool
parseConnectionInfo bool

Properties

ConnectionCloseRequest

public bool ConnectionCloseRequest { get; }

Property Value

bool

MaxConnection

public int MaxConnection { get; set; }

Property Value

int

StatusCode

public int StatusCode { get; }

Property Value

int

TimeoutIdleSeconds

public int TimeoutIdleSeconds { get; set; }

Property Value

int

Methods

GetHeaderLineLength()

protected override int GetHeaderLineLength()

Returns

int

HasResponseBody(ReadOnlySpan<char>)

public bool HasResponseBody(ReadOnlySpan<char> method)

Parameters

method ReadOnlySpan<char>

Returns

bool

WriteHeaderLine(Span<byte>)

protected override int WriteHeaderLine(Span<byte> buffer)

Parameters

buffer Span<byte>

Returns

int