Result class

Result data of HTTP operation.

Constructors

Result(Headers)

Initialize a new instance of Result class.

Properties

content

The content body from the response to HTTP operation.

headers

The headers from the response to HTTP operation.

reasonPhrase

The reason phrase from the response to HTTP operation.

statusCode

The status code from the response to HTTP operation.

Constructor Details

Result(Headers)

Initialize a new instance of Result class.

new Result(headers?: Headers)

Parameters

headers

Headers

Response headers.

Property Details

content

The content body from the response to HTTP operation.

content?: any

Property Value

any

headers

The headers from the response to HTTP operation.

headers?: [key: string]: string

Property Value

[key: string]: string

reasonPhrase

The reason phrase from the response to HTTP operation.

reasonPhrase?: string

Property Value

string

statusCode

The status code from the response to HTTP operation.

statusCode?: number

Property Value

number