Fetch handler
The fetch handler receives every HTTP request routed to your Ember.
export default {
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
ctx.waitUntil(logVisit(request));
return new Response("ok");
},
};Parameters
Name | Type | Description |
|---|---|---|
|
| The incoming request, with an extra |
|
| Your bindings, variables and secrets |
|
|
|
The request.ember object
Property | Example |
|---|---|
|
|
|
|
|
|
|
|
Updated
Was this page helpful?