agentskit.js

createWebhookHandler

Auto-generated API reference for createWebhookHandler.

Function: createWebhookHandler()

createWebhookHandler<TContext>(options): WebhookHandler

Defined in: background.ts:223

Build a framework-agnostic webhook handler. Wire into Express / Hono / Next API routes by passing in the parsed request and piping the returned response.

#Type Parameters

#TContext

TContext = unknown

#Parameters

#options

WebhookOptions<TContext>

#Returns

WebhookHandler

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page