Table of Contents

Class ResponseHeaderInfo

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll
[MessagePackObject(false)]
public class ResponseHeaderInfo
Inheritance
ResponseHeaderInfo
Inherited Members

Constructors

ResponseHeaderInfo(ResponseHeader, bool)

public ResponseHeaderInfo(ResponseHeader originalHeader, bool doNotForwardConnectionHeader = false)

Parameters

originalHeader ResponseHeader
doNotForwardConnectionHeader bool

ResponseHeaderInfo(int, IEnumerable<HeaderFieldInfo>)

[JsonConstructor]
[SerializationConstructor]
public ResponseHeaderInfo(int statusCode, IEnumerable<HeaderFieldInfo> headers)

Parameters

statusCode int
headers IEnumerable<HeaderFieldInfo>

ResponseHeaderInfo(int, IEnumerable<HeaderFieldInfo>, bool)

public ResponseHeaderInfo(int statusCode, IEnumerable<HeaderFieldInfo> headers, bool computePseudoHeader)

Parameters

statusCode int
headers IEnumerable<HeaderFieldInfo>
computePseudoHeader bool

Properties

Headers

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

Property Value

IEnumerable<HeaderFieldInfo>

StatusCode

[Key(0)]
public int StatusCode { get; }

Property Value

int

Methods

Equals(ResponseHeaderInfo)

protected bool Equals(ResponseHeaderInfo other)

Parameters

other ResponseHeaderInfo

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.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.