Class AttackProbeResponse
- Namespace
- Kuestenlogik.Bowire.Security
- Assembly
- Kuestenlogik.Bowire.dll
Captured response context that AttackPredicateEvaluator walks an AttackPredicate against. Transport-agnostic: the HTTP scanner populates Status from the HTTP status code; future gRPC / SignalR / WebSocket transports map their own status concepts onto the same integer (gRPC: 0..16 status codes, SignalR: 200 for invocation OK / specific code on hub error, …).
public sealed class AttackProbeResponse
- Inheritance
-
AttackProbeResponse
- Inherited Members
Remarks
Body is the UTF-8-decoded response payload. Binary
transports (gRPC native, WebSocket binary frames) base64-encode
their body into the same field so the predicate operators
(bodyContains, bodyMatches) work uniformly.
Constructors
AttackProbeResponse()
public AttackProbeResponse()
Properties
Body
Response body as UTF-8 text. Binary bodies are base64-encoded into the same field.
public string Body { get; init; }
Property Value
Headers
Headers (response metadata) — keyed case-insensitively at evaluation time.
public IReadOnlyDictionary<string, string> Headers { get; init; }
Property Value
LatencyMs
Wall-clock round-trip latency, measured from probe send to response receipt.
public int LatencyMs { get; init; }
Property Value
Status
Status code — HTTP status for HTTP-class transports, gRPC status for gRPC, etc.
public int Status { get; init; }