Class TestHttpResponseData

Namespace
XBullet.EasyTesting.AzureFunctions
Assembly
XBullet.EasyTesting.AzureFunctions.dll

An in-memory isolated-worker HTTP response.

public sealed class TestHttpResponseData : HttpResponseData
Inheritance
TestHttpResponseData
Inherited Members
Extension Methods

Properties

AppendedCookies

Gets cookies appended by the function.

public IReadOnlyList<IHttpCookie> AppendedCookies { get; }

Property Value

IReadOnlyList<IHttpCookie>

A live read-only view of cookies in append order. Cookie objects are retained without cloning.

Body

Gets or sets the response body stream.

public override Stream Body { get; set; }

Property Value

Stream

Cookies

Gets an HttpCookies instance containing the request cookies.

public override HttpCookies Cookies { get; }

Property Value

HttpCookies

Headers

Gets or sets a HttpHeadersCollection containing the response headers

public override HttpHeadersCollection Headers { get; set; }

Property Value

HttpHeadersCollection

StatusCode

Gets or sets the status code for the response.

public override HttpStatusCode StatusCode { get; set; }

Property Value

HttpStatusCode