Skip to content

DurableHttpResponse

record

Namespace: Orleans.Durable.Http

Records an HTTP response which a durable task received: its status code, headers, and content.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.Alias(Orleans.Durable.Http.DurableHttpResponse)]
public record DurableHttpResponse : IEquatable<DurableHttpResponse>

Remarks

The task records the response, so replays read it without sending the request again. It suits API responses, up to DurableHttpClientOptions; stream large content within a step of the task instead. The record omits Set-Cookie headers, which carry the server's credentials for the client.

Constructors

Properties

Methods