Skip to main content

Module webhook_runtime

Module webhook_runtime 

Source
Expand description

Per-process webhook runtime: registry + background delivery tasks.

Wraps the service-layer WebhookRegistry trait with a JoinHandle-tracking layer so CRUD operations can also manage the lifecycle of the matching polling task. The server ctx holds one of these.

Structs§

ReqwestPostClient
Default-backed PostClient — reqwest under the hood. Placed in the server crate so the service layer stays reqwest-free.
WebhookRuntime
Lifecycle owner for webhooks. CRUD goes through the underlying WebhookRegistry; task lifecycle (spawn on create, abort on delete) is mirrored in the parallel handles map.