Carbon
AdaptersCloudflareFunctions

createHandler

createHandler(handle): Handler

Creates a Cloudflare handler function using the provided handle and handler options

Parameters

ParameterTypeDescription
handleHandleThe handle function to process requests

Returns

Handler

The created handler function

Example

const handler = createHandler(handle, { ... })
export default { fetch: handler }

On this page

Edit on GitHub