Expand description
Webhook trigger port — accept inbound HTTP webhooks that start pipelines Webhook trigger port — accept inbound HTTP requests that start pipelines.
Defines the WebhookTrigger trait and associated types. The port contains
zero infrastructure dependencies: adapters (e.g. axum, actix) implement
the trait with real HTTP servers.
§Architecture
External service ──POST──▶ WebhookTrigger adapter
│
▼
WebhookEvent
│
Application layer decides
which pipeline to executeStructs§
- Webhook
Config - Configuration for a webhook trigger listener.
- Webhook
Event - An inbound webhook event received by the trigger listener.
- Webhook
Listener Handle - Handle returned by
WebhookTrigger::start_listenerfor managing the listener lifecycle.
Traits§
- Webhook
Trigger - Port: accept inbound webhooks and emit
WebhookEvents.