Table of Contents

Class RequestHeaderInfo

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

This data structure is used for serialization only

[MessagePackObject(false)]
public class RequestHeaderInfo
Inheritance
RequestHeaderInfo
Inherited Members

Constructors

RequestHeaderInfo(RequestHeader, bool)

public RequestHeaderInfo(RequestHeader originalHeader, bool doNotForwardConnectionHeader = false)

Parameters

originalHeader RequestHeader
doNotForwardConnectionHeader bool

RequestHeaderInfo(ReadOnlyMemory<char>, ReadOnlyMemory<char>, ReadOnlyMemory<char>, ReadOnlyMemory<char>, IEnumerable<HeaderFieldInfo>)

[JsonConstructor]
[SerializationConstructor]
public RequestHeaderInfo(ReadOnlyMemory<char> method, ReadOnlyMemory<char> scheme, ReadOnlyMemory<char> path, ReadOnlyMemory<char> authority, IEnumerable<HeaderFieldInfo> headers)

Parameters

method ReadOnlyMemory<char>
scheme ReadOnlyMemory<char>
path ReadOnlyMemory<char>
authority ReadOnlyMemory<char>
headers IEnumerable<HeaderFieldInfo>

RequestHeaderInfo(string, string, IEnumerable<HeaderFieldInfo>)

public RequestHeaderInfo(string method, string fullUrl, IEnumerable<HeaderFieldInfo> headers)

Parameters

method string
fullUrl string
headers IEnumerable<HeaderFieldInfo>

RequestHeaderInfo(string, string, string, string, IEnumerable<HeaderFieldInfo>)

public RequestHeaderInfo(string method, string scheme, string path, string authority, IEnumerable<HeaderFieldInfo> headers)

Parameters

method string
scheme string
path string
authority string
headers IEnumerable<HeaderFieldInfo>

Properties

Authority

[Key(3)]
public ReadOnlyMemory<char> Authority { get; }

Property Value

ReadOnlyMemory<char>

Headers

[Key(4)]
public IEnumerable<HeaderFieldInfo> Headers { get; }

Property Value

IEnumerable<HeaderFieldInfo>

Method

[Key(0)]
public ReadOnlyMemory<char> Method { get; }

Property Value

ReadOnlyMemory<char>

Path

[Key(2)]
public ReadOnlyMemory<char> Path { get; }

Property Value

ReadOnlyMemory<char>

Scheme

[Key(1)]
public ReadOnlyMemory<char> Scheme { get; }

Property Value

ReadOnlyMemory<char>

Methods

Equals(RequestHeaderInfo)

protected bool Equals(RequestHeaderInfo other)

Parameters

other RequestHeaderInfo

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetFullUrl()

public string GetFullUrl()

Returns

string

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetPathOnly()

public string GetPathOnly()

Returns

string