Server Source code Package
Fetch
Web Standard Fetch API source for walkerOS - deploy to any modern edge or serverless platform.
Where This Fits
The Fetch Source is a server source in the walkerOS flow:
It receives events via the Fetch API and forwards them to your destinations. Works on any platform supporting Web Standards.
Features
- Platform agnostic: Cloudflare Workers, Vercel Edge, Deno, Bun, Node.js 18+
- Web Standard: Native
(Request) => Responsesignature - Batch processing: Handle multiple events in single request
- CORS support: Configurable cross-origin resource sharing
- Pixel tracking: 1x1 transparent GIF for GET requests
Installation
Loading...
Quick start
- Integrated
- Bundled
More platform examples
The following examples show Integrated mode patterns for various platforms:
Vercel Edge
Loading...
Deno Deploy
Loading...
Bun
Loading...
Configuration
| Setting | Type | Default | Description |
|---|---|---|---|
path | string | /collect | Collection endpoint path |
cors | boolean | object | true | CORS configuration |
healthPath | string | /health | Health check endpoint |
maxRequestSize | number | 102400 | Max request size in bytes (100KB) |
maxBatchSize | number | 100 | Max events per batch request |
Ingest Metadata
Extract request metadata and forward it through the pipeline.
Loading...
Available Ingest Paths
| Path | Description |
|---|---|
url | Full request URL |
headers.get('name') | Via function: { fn: (req) => req.headers.get('name') } |
note
The Fetch API uses Request objects where headers are accessed via .get() method. Use mapping functions for header extraction.
Usage
Single Event
Loading...
Batch Events
Loading...
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.