Header menu logo fable-electron-docs-api

HeadersReceivedResponse Type

Constructors

Constructor Description

HeadersReceivedResponse(?cancel, ?responseHeaders, ?statusLine)

Full Usage: HeadersReceivedResponse(?cancel, ?responseHeaders, ?statusLine)

Parameters:
    ?cancel : bool -
    ?responseHeaders : Record<string, U2<string, string[]>> - When provided, the server is assumed to have responded with these headers.
    ?statusLine : string - Should be provided when overriding responseHeaders to change header status otherwise original response header's status will be used.

Returns: HeadersReceivedResponse
?cancel : bool

?responseHeaders : Record<string, U2<string, string[]>>

When provided, the server is assumed to have responded with these headers.

?statusLine : string

Should be provided when overriding responseHeaders to change header status otherwise original response header's status will be used.

Returns: HeadersReceivedResponse

Instance members

Instance member Description

this.cancel

Full Usage: this.cancel

this.responseHeaders

Full Usage: this.responseHeaders

When provided, the server is assumed to have responded with these headers.

this.statusLine

Full Usage: this.statusLine

Should be provided when overriding responseHeaders to change header status otherwise original response header's status will be used.

Type something to start searching.