Skip to content

Support Cloudflare Workers environment and execution context #673

@tadhglewis

Description

@tadhglewis

It'd be great to have Oak feature parity with Hono so I can use it!

Specifically,

Cloudflare Worker environment and execution context are not currently exposed to middleware.

This means you're not able to access things like environment variables and bindings.

Hono supports this quite well https://hono.dev/docs/getting-started/cloudflare-workers#bindings

Hono also supports things like Cloudflare Queues which has a nice API. https://hono.dev/examples/cloudflare-queue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions