references/miniflare/api.md
Miniflare API
Use the current documentation for method signatures and examples:
| Task | Documentation | |------|---------------| | Create, reload, or dispose an instance; wait for its HTTP server | Get started | | Dispatch requests and supply request metadata | Fetch events | | Trigger queue and scheduled handlers programmatically | Dispatching events | | Configure queue producers and consumers | Queues | | Trigger scheduled events over HTTP or the API | Scheduled events | | Access bindings from tests | Interacting with bindings | | Access local storage | KV, R2, D1, Durable Objects, Cache | | Handle a WebSocket upgrade in a test | WebSockets |
For constructor options, read configuration.md. For runtime-specific test helpers, read patterns.md.