Class BowireResponseMetricSample
- Namespace
- Kuestenlogik.Bowire.Benchmarking
- Assembly
- Kuestenlogik.Bowire.Benchmarking.dll
#621 — one response to evaluate: its body and its headers.
public sealed record BowireResponseMetricSample : IEquatable<BowireResponseMetricSample>
- Inheritance
-
BowireResponseMetricSample
- Implements
- Inherited Members
Constructors
BowireResponseMetricSample(string?, Dictionary<string, string>?)
#621 — one response to evaluate: its body and its headers.
public BowireResponseMetricSample(string? Body, Dictionary<string, string>? Headers)
Parameters
BodystringThe response body.
HeadersDictionary<string, string>The response headers / metadata.
Properties
Body
The response body.
public string? Body { get; init; }
Property Value
Headers
The response headers / metadata.
public Dictionary<string, string>? Headers { get; init; }
Property Value
Methods
Deconstruct(out string?, out Dictionary<string, string>?)
public void Deconstruct(out string? Body, out Dictionary<string, string>? Headers)
Parameters
BodystringHeadersDictionary<string, string>
Equals(BowireResponseMetricSample?)
public bool Equals(BowireResponseMetricSample? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireResponseMetricSample?, BowireResponseMetricSample?)
public static bool operator ==(BowireResponseMetricSample? left, BowireResponseMetricSample? right)
Parameters
Returns
operator !=(BowireResponseMetricSample?, BowireResponseMetricSample?)
public static bool operator !=(BowireResponseMetricSample? left, BowireResponseMetricSample? right)