MCPcopy
hub / github.com/msgbyte/tianji / RequestPayload

Interface RequestPayload

packages/cli/templates/worker/src/index.ts:11–13  ·  view source on GitHub ↗

* Tianji Worker Example * * This is a simple example worker that handles HTTP requests. * You can modify this to suit your needs. * * Note: The fetch function will be directly exposed after build. * Do not use export/import syntax, write plain functions.

Source from the content-addressed store, hash-verified

9 */
10
11interface RequestPayload {
12 [key: string]: any;
13}
14
15interface RequestContext {
16 type: 'http' | 'cron';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected