Skip to content

DurableHttpResponse Constructors

Records an HTTP response which a durable task received: its status code, headers, and content.

DurableHttpResponse(HttpStatusCode, Uri?, IReadOnlyDictionary<string, string[]>, ReadOnlyMemory<byte>)

View source
public DurableHttpResponse(HttpStatusCode StatusCode, Uri? RequestUri, IReadOnlyDictionary<string, string[]> Headers, ReadOnlyMemory<byte> Content)
Records an HTTP response which a durable task received: its status code, headers, and content.

Parameters

StatusCodeHttpStatusCode
The response's status code.
RequestUriUri?
The URL of the request which the response answers.
HeadersIReadOnlyDictionary<string, string[]>
The response's headers and content headers, whose names compare case-insensitively.
ContentReadOnlyMemory<byte>
The response's content.