···11-import { actor, setup } from "rivetkit";
22-33-// Create an HTTP actor for handling requests
44-export const http = actor({
55- // Create a raw request handler
66- onRequest(_c, req) {
77- // Return whatever URL comes from the request as the text body
88- return new Response(`Url: ${req.url}`);
99- },
1010-});
1111-1212-export const registry = setup({
1313- use: { http },
1414-});