BunAdapter
Defined in: src/util/adapter/bun.ts:11
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BunAdapter():
BunAdapter
Returns
Section titled “Returns”BunAdapter
Methods
Section titled “Methods”listen()
Section titled “listen()”listen(
port,app,tls?):Promise<Server<any>>
Defined in: src/util/adapter/bun.ts:14
Start listening on the specified port.
Parameters
Section titled “Parameters”number
string
string
Returns
Section titled “Returns”Promise<Server<any>>
Implementation of
Section titled “Implementation of”stop()
Section titled “stop()”stop():
Promise<void>
Defined in: src/util/adapter/bun.ts:172
Stop the server.
Returns
Section titled “Returns”Promise<void>