HttpResponseMockContent class
Convert and store the actual content of HttpResponseMock.
Constructors
| Http |
Intiializes a new instance of the HttpResponseMockContent class. |
Methods
| get |
Get a new ResponseContent based on content. |
Constructor Details
HttpResponseMockContent(HttpResponseMock)
Intiializes a new instance of the HttpResponseMockContent class.
new HttpResponseMockContent(httpResponseMock?: HttpResponseMock)
Parameters
- httpResponseMock
- HttpResponseMock
The mock that provides content.
Method Details
getHttpContent()
Get a new ResponseContent based on content.
function getHttpContent(): ResponseContent
Returns
A new ResponseContent.