Skip to content

kient / WebhookServer

Class: WebhookServer

src/webhook.server.ts:6

Constructors

new WebhookServer()

ts
new WebhookServer(kient): WebhookServer

src/webhook.server.ts:10

Parameters

ParameterType
kientKient

Returns

WebhookServer

Accessors

fetch

Get Signature

ts
get fetch(): (request, Env?, executionCtx?) => Response | Promise<Response>

src/webhook.server.ts:65

Returns

Function

.fetch() will be entry point of your app.

Parameters
ParameterTypeDescription
requestRequestrequest Object of request
Env?unknownenv Object
executionCtx?ExecutionContext-
Returns

Response | Promise<Response>

response of request

See

https://hono.dev/docs/api/hono#fetch