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
ResponseHeaderdoNotForwardConnectionHeader
bool
ResponseHeaderInfo(int, IEnumerable<HeaderFieldInfo>)
[JsonConstructor]
[SerializationConstructor]
public ResponseHeaderInfo(int statusCode, IEnumerable<HeaderFieldInfo> headers)
Parameters
statusCode
intheaders
IEnumerable<HeaderFieldInfo>
ResponseHeaderInfo(int, IEnumerable<HeaderFieldInfo>, bool)
public ResponseHeaderInfo(int statusCode, IEnumerable<HeaderFieldInfo> headers, bool computePseudoHeader)
Parameters
statusCode
intheaders
IEnumerable<HeaderFieldInfo>computePseudoHeader
bool
Properties
Headers
[Key(1)]
public IEnumerable<HeaderFieldInfo> Headers { get; }
Property Value
StatusCode
[Key(0)]
public int StatusCode { get; }
Property Value
Methods
Equals(ResponseHeaderInfo)
protected bool Equals(ResponseHeaderInfo other)
Parameters
other
ResponseHeaderInfo
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.