Class TestHttpRequestData
- Namespace
- XBullet.EasyTesting.AzureFunctions
- Assembly
- XBullet.EasyTesting.AzureFunctions.dll
An in-memory isolated-worker HTTP request.
public sealed class TestHttpRequestData : HttpRequestData
- Inheritance
-
TestHttpRequestData
- Inherited Members
Properties
Body
A Stream containing the HTTP body data.
public override Stream Body { get; }
Property Value
Cookies
Gets an IReadOnlyCollection<T> containing the request cookies.
public override IReadOnlyCollection<IHttpCookie> Cookies { get; }
Property Value
Headers
Gets a HttpHeadersCollection containing the request headers.
public override HttpHeadersCollection Headers { get; }
Property Value
Identities
Gets an IEnumerable<T> containing the request identities.
public override IEnumerable<ClaimsIdentity> Identities { get; }
Property Value
Method
Gets the HTTP method for this request.
public override string Method { get; }
Property Value
Url
Gets the Uri for this request.
public override Uri Url { get; }
Property Value
Methods
CreateResponse()
Creates a response for this request.
public override HttpResponseData CreateResponse()
Returns
- HttpResponseData
The response instance.