@oona/vlo / host / HttpPushOptions
Interface: HttpPushOptions
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:23
Where and how to push one queue's tasks.
Properties
fetch?
optionalfetch?:FetchLike
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:31
fetch implementation. Default globalThis.fetch.
now?
optionalnow?: () =>number
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:29
Clock for the signed timestamp, epoch milliseconds. Default Date.now.
Returns
number
secret
secret:
string
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:27
HMAC secret shared with the worker. Required: an empty secret is refused.
timeoutMs?
optionaltimeoutMs?:number
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:33
Per-push request timeout in milliseconds. Default 5 s.
url
url:
string
Defined in: sdk/ts/sdk/src/host/transport/http-push.ts:25
The worker's push endpoint, typically <worker base>/v1/tasks/push.