Skip to main content

Module sender

Module sender 

Source
Expand description

Push notification sender trait and HTTP implementation.

PushSender abstracts the delivery of streaming events to client webhook endpoints. HttpPushSender uses hyper to POST events over HTTP(S).

§Security

HttpPushSender validates webhook URLs to reject private/loopback addresses (SSRF protection) and sanitizes authentication credentials to prevent HTTP header injection.

Structs§

HttpPushSender
HTTP-based PushSender using hyper.
PushRetryPolicy
Retry policy for push notification delivery.

Traits§

PushSender
Trait for delivering push notifications to client webhooks.