Class HttpResponseMessageAndResponseType<TResponse>
- Namespace
- CSF.Screenplay.WebApis
- Assembly
- CSF.Screenplay.WebApis.dll
Wraps an HttpResponseMessage but also provides information about the expected response type from that message.
public class HttpResponseMessageAndResponseType<TResponse>
Type Parameters
TResponse
The expected response type.
- Inheritance
-
HttpResponseMessageAndResponseType<TResponse>
- Inherited Members
Constructors
HttpResponseMessageAndResponseType(HttpResponseMessage)
Initializes a new instance of HttpResponseMessageAndResponseType<TResponse>.
public HttpResponseMessageAndResponseType(HttpResponseMessage responseMessage)
Parameters
responseMessage
HttpResponseMessageThe HTTP response message.
Exceptions
- ArgumentNullException
If
responseMessage
is null.
Properties
ResponseMessage
Gets the HTTP response message.
public HttpResponseMessage ResponseMessage { get; }