Edit

Share via


HttpResponseMock interface

Http response mock used in HttpRequestSequenceMock.

Properties

content

The content.

contentType

The content type.

reasonPhrase

The reason phrase. (Not supported yet)

statusCode

The status code.

Property Details

content

The content.

content: ResponseContent

Property Value

contentType

The content type.

contentType?: ResponseContentType

Property Value

reasonPhrase

The reason phrase. (Not supported yet)

reasonPhrase?: string

Property Value

string

statusCode

The status code.

statusCode?: ResponseStatusCode

Property Value