Class FlowRequestEnvelope
- Namespace
- Kuestenlogik.Bowire.Flows.Expectations
- Assembly
- Kuestenlogik.Bowire.Flows.dll
Captured result of one flow-step's request invocation — the input
surface every FlowExpectation evaluates against. Kept
transport-agnostic on purpose: the in-browser runner builds it from
fetch/XHR, the CLI runner (T2) builds it from IBowireProtocol
invocations, and the evaluator stays the same in both worlds.
public sealed class FlowRequestEnvelope
- Inheritance
-
FlowRequestEnvelope
- Inherited Members
Constructors
FlowRequestEnvelope()
public FlowRequestEnvelope()
Properties
Body
Raw response body verbatim, or null when no body was returned.
public string? Body { get; init; }
Property Value
Error
Error text when the call failed before assertions could run; null on success.
public string? Error { get; init; }
Property Value
Headers
Response headers (case-insensitive lookup) as captured.
public IReadOnlyDictionary<string, string> Headers { get; init; }
Property Value
LatencyMs
Wall-clock duration in milliseconds.
public long LatencyMs { get; init; }
Property Value
Status
Protocol-equivalent status string. For REST that's the HTTP code or its name ("200" / "OK"); for gRPC, the trailer ("OK", "NotFound"); for MQTT / WebSocket, the underlying transport state.
public string? Status { get; init; }