ServerConstructor
Nodepod API / src / http / ServerConstructor
Interface: ServerConstructor()
Section titled “Interface: ServerConstructor()”Defined in: src/polyfills/http.ts:493
ServerConstructor(
this,optsOrHandler?,handler?):void
Defined in: src/polyfills/http.ts:495
Parameters
Section titled “Parameters”any
optsOrHandler?
Section titled “optsOrHandler?”Record<string, unknown> | HttpHandler
handler?
Section titled “handler?”Returns
Section titled “Returns”void
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ServerConstructor(
optsOrHandler?,handler?):Server
Defined in: src/polyfills/http.ts:494
Parameters
Section titled “Parameters”optsOrHandler?
Section titled “optsOrHandler?”Record<string, unknown> | HttpHandler
handler?
Section titled “handler?”Returns
Section titled “Returns”Properties
Section titled “Properties”prototype
Section titled “prototype”prototype:
any
Defined in: src/polyfills/http.ts:496