kvision / pl.treksoft.kvision.electron / IncomingMessage

IncomingMessage

(js) open class IncomingMessage : EventEmitter

Constructors

(js)

<init>

IncomingMessage()

Properties

(js)

headers

open var headers: Any
(js)

httpVersion

open var httpVersion: String
(js)

httpVersionMajor

open var httpVersionMajor: Number
(js)

httpVersionMinor

open var httpVersionMinor: Number
(js)

statusCode

open var statusCode: Number
(js)

statusMessage

open var statusMessage: String

Functions

(js)

addListener

open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: (chunk: Buffer) -> Unit): IncomingMessage
(js)

on

open fun on(event: String, listener: Function<*>): IncomingMessage
open fun on(event: String, listener: (chunk: Buffer) -> Unit): IncomingMessage
(js)

once

open fun once(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: (chunk: Buffer) -> Unit): IncomingMessage
(js)

removeListener

open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: (chunk: Buffer) -> Unit): IncomingMessage