Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WithExpressResult<TApp>

Result of a 'withExpress()' function.

Type parameters

  • TApp: Express

Hierarchy

  • WithExpressResult

Index

Properties

Properties

app

app: Express

The underlying Express instance.

http

The HTTP server instance.

listen

listen: (port?: undefined | number) => Promise<void>

Starts listening on a port.

param

The custom port. Default: 80

Type declaration

    • (port?: undefined | number): Promise<void>
    • Parameters

      • Optional port: undefined | number

      Returns Promise<void>

server

The (simple) web socket server instance.

Generated using TypeDoc