Interface HttpServerFactory

A factory for HTTP servers.

Hierarchy

  • HttpServerFactory

Implemented by

Properties

Properties

createServer: (() => Promise<Server<typeof IncomingMessage, typeof ServerResponse>>)

Type declaration

    • (): Promise<Server<typeof IncomingMessage, typeof ServerResponse>>
    • Returns Promise<Server<typeof IncomingMessage, typeof ServerResponse>>