Class CapturedFlow

Namespace
Kuestenlogik.Bowire.Proxy
Assembly
Kuestenlogik.Bowire.dll

One captured request/response pair flowing through the bowire proxy intercepting proxy. Records the wire-level shape (method / URL / headers / body) on both sides so the workbench can replay any captured flow as a Bowire recording — the Tier-3 anchor in docs/architecture/security-testing.md.

public sealed class CapturedFlow
Inheritance
CapturedFlow
Inherited Members

Constructors

CapturedFlow()

public CapturedFlow()

Properties

CapturedAt

Wall-clock timestamp the request landed at the proxy.

public DateTimeOffset CapturedAt { get; init; }

Property Value

DateTimeOffset

Error

Error message when the forward failed (target unreachable, TLS handshake failure, etc.).

public string? Error { get; init; }

Property Value

string

Id

Stable id assigned at capture-time (monotonic per process).

public long Id { get; init; }

Property Value

long

LatencyMs

Wall-clock latency of the forward round-trip in milliseconds.

public int LatencyMs { get; init; }

Property Value

int

Method

HTTP verb (GET / POST / …).

public string Method { get; init; }

Property Value

string

RequestBody

Request body bytes — kept as UTF-8 text when possible, base64 in RequestBodyBase64 when binary.

public string? RequestBody { get; init; }

Property Value

string

RequestBodyBase64

Base64 of the request body when it wasn't safe UTF-8.

public string? RequestBodyBase64 { get; init; }

Property Value

string

RequestHeaders

Request headers as captured (case-preserved).

public IReadOnlyList<KeyValuePair<string, string>> RequestHeaders { get; init; }

Property Value

IReadOnlyList<KeyValuePair<string, string>>

ResponseBody

Response body (UTF-8 or null when ResponseBodyBase64 is set).

public string? ResponseBody { get; init; }

Property Value

string

ResponseBodyBase64

Base64 of the response body when it wasn't safe UTF-8.

public string? ResponseBodyBase64 { get; init; }

Property Value

string

ResponseHeaders

Response headers as captured (case-preserved).

public IReadOnlyList<KeyValuePair<string, string>> ResponseHeaders { get; init; }

Property Value

IReadOnlyList<KeyValuePair<string, string>>

ResponseStatus

HTTP status of the upstream response. 0 when the forward failed before a response landed.

public int ResponseStatus { get; init; }

Property Value

int

Scheme

Scheme (http or https) — useful to flag MITM'd flows in the UI.

public string Scheme { get; init; }

Property Value

string

Url

Absolute target URL the proxy was asked to forward to.

public string Url { get; init; }

Property Value

string