createServer
createServer(
client
,options
):Server
Creates a server for the client using Bun.serve
Parameters
Parameter | Type | Description |
---|---|---|
client | Client | The Carbon client to create the server for |
options | ServerOptions | Additional options for the server |
Returns
Server
The Bun.Server instance