Edit

Share via


HttpResponseMockContent class

Convert and store the actual content of HttpResponseMock.

Constructors

HttpResponseMockContent(HttpResponseMock)

Intiializes a new instance of the HttpResponseMockContent class.

Methods

getHttpContent()

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.