Skip to content

Documents for @litert/xxl-job-integration / Listener/NodeHttp / IListenOptions

Interface: IListenOptions

Defined in: src/lib/Listener/NodeHttp.ts:210

The options for creating a server listener.

Properties

backlog?

optional backlog: number

Defined in: src/lib/Listener/NodeHttp.ts:226

The maximum number of pending connections in the queue. Defaults to 511 if not specified.


host

host: string

Defined in: src/lib/Listener/NodeHttp.ts:220

The host to bind the server to.


port

port: number

Defined in: src/lib/Listener/NodeHttp.ts:215

The port to listen on.