IncomingMessage

external class IncomingMessage : <ERROR CLASS> ERROR CLASS: Symbol not found for NodeEventEmitter(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val abortedEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Link copied to clipboard
val dataEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple1<ERROR CLASS: Symbol not found for Buffer<*>>>
Link copied to clipboard
val endEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple>
Link copied to clipboard
val errorEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple1<ERROR CLASS: Symbol not found for js.errors.JsError>>
Link copied to clipboard
var headers: ERROR CLASS: Symbol not found for js.objects.ReadonlyRecord<kotlin/String, kotlin/Any>

A Record<string, string | string[]> representing the HTTP response headers. The headers object is formatted as follows:

Link copied to clipboard

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.

Link copied to clipboard

An Integer indicating the HTTP protocol major version number.

Link copied to clipboard

An Integer indicating the HTTP protocol minor version number.

Link copied to clipboard
var rawHeaders: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>

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.

Link copied to clipboard

An Integer indicating the HTTP response status code.

Link copied to clipboard

A string representing the HTTP status message.