Class ExpressBeans

Constructors

Properties

app: Express
onInitialized: undefined | (() => void)

Type declaration

    • (): void
    • Returns void

Methods

  • Starts the server and calls onInitialized callback

    Parameters

    • port: number

    Returns Server<typeof IncomingMessage, typeof ServerResponse>

  • Parameters

    • req: IncomingMessage
    • res: ServerResponse<IncomingMessage>

    Returns string

  • Exposes use function of Express application

    Parameters

    • Rest ...handlers: any

    Returns void