IncomingMessage Type
⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ✔ | Exported ❌
Instance members
| Instance member |
Description
|
Full Usage:
this.headers
|
A Record |
Full Usage:
this.httpVersion
|
A string indicating the HTTP protocol version number. Typical values are '1.0' or '1.1'. Additionally httpVersionMajor and httpVersionMinor are two Integer-valued readable properties that return respectively the HTTP major and minor version numbers. |
Full Usage:
this.httpVersionMajor
|
An Integer indicating the HTTP protocol major version number. |
Full Usage:
this.httpVersionMinor
|
An Integer indicating the HTTP protocol minor version number. |
Full Usage:
this.offAborted handler
Parameters:
unit -> unit
Modifiers: inline |
Emitted when a request has been canceled during an ongoing HTTP transaction.
|
|
The data event is the usual method of transferring response data into applicative code.
|
Full Usage:
this.offEnd handler
Parameters:
unit -> unit
Modifiers: inline |
Indicates that response body has ended. Must be placed before 'data' event.
|
|
Emitted when an error was encountered while streaming response data events. For instance, if the server closes the underlying while the response is still streaming, an error event will be emitted on the response object and a close event will subsequently follow on the request object.
|
Full Usage:
this.onAborted handler
Parameters:
unit -> unit
Modifiers: inline |
Emitted when a request has been canceled during an ongoing HTTP transaction.
|
|
The data event is the usual method of transferring response data into applicative code.
|
Full Usage:
this.onEnd handler
Parameters:
unit -> unit
Modifiers: inline |
Indicates that response body has ended. Must be placed before 'data' event.
|
|
Emitted when an error was encountered while streaming response data events. For instance, if the server closes the underlying while the response is still streaming, an error event will be emitted on the response object and a close event will subsequently follow on the request object.
|
Full Usage:
this.onceAborted handler
Parameters:
unit -> unit
Modifiers: inline |
Emitted when a request has been canceled during an ongoing HTTP transaction.
|
|
The data event is the usual method of transferring response data into applicative code.
|
Full Usage:
this.onceEnd handler
Parameters:
unit -> unit
Modifiers: inline |
Indicates that response body has ended. Must be placed before 'data' event.
|
|
Emitted when an error was encountered while streaming response data events. For instance, if the server closes the underlying while the response is still streaming, an error event will be emitted on the response object and a close event will subsequently follow on the request object.
|
Full Usage:
this.rawHeaders
|
A string[] containing the raw HTTP response headers exactly as they were received. The keys and values are in the same list. It is not a list of tuples. So, the even-numbered offsets are key values, and the odd-numbered offsets are the associated values. Header names are not lowercased, and duplicates are not merged. |
Full Usage:
this.statusCode
|
An Integer indicating the HTTP response status code. |
Full Usage:
this.statusMessage
|
A string representing the HTTP status message. |
fable-electron-docs-api