Class BowireScriptSendResponse

Namespace
Kuestenlogik.Bowire.Scripting
Assembly
Kuestenlogik.Bowire.dll

#1111 — what a ctx.sendRequest came back with.

public sealed class BowireScriptSendResponse
Inheritance
BowireScriptSendResponse
Inherited Members

Constructors

BowireScriptSendResponse()

public BowireScriptSendResponse()

Properties

Body

The response body.

public string? Body { get; init; }

Property Value

string

DurationMs

How long the call took.

public long DurationMs { get; init; }

Property Value

long

Error

Why the request could not be made at all; the script's call then fails with it.

public string? Error { get; init; }

Property Value

string

Headers

Response headers or metadata.

public IReadOnlyDictionary<string, string> Headers { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Status

The protocol's status (an HTTP status name, a gRPC code).

public string? Status { get; init; }

Property Value

string