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