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

Body string

The response body.

Headers Dictionary<string, string>

The response headers / metadata.

Properties

Body

The response body.

public string? Body { get; init; }

Property Value

string

Headers

The response headers / metadata.

public Dictionary<string, string>? Headers { get; init; }

Property Value

Dictionary<string, string>

Methods

Deconstruct(out string?, out Dictionary<string, string>?)

public void Deconstruct(out string? Body, out Dictionary<string, string>? Headers)

Parameters

Body string
Headers Dictionary<string, string>

Equals(BowireResponseMetricSample?)

public bool Equals(BowireResponseMetricSample? other)

Parameters

other BowireResponseMetricSample

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireResponseMetricSample?, BowireResponseMetricSample?)

public static bool operator ==(BowireResponseMetricSample? left, BowireResponseMetricSample? right)

Parameters

left BowireResponseMetricSample
right BowireResponseMetricSample

Returns

bool

operator !=(BowireResponseMetricSample?, BowireResponseMetricSample?)

public static bool operator !=(BowireResponseMetricSample? left, BowireResponseMetricSample? right)

Parameters

left BowireResponseMetricSample
right BowireResponseMetricSample

Returns

bool