Expand description
§SMS Web Generic
Framework-agnostic webhook processing for smskit.
This crate provides WebhookProcessor, which takes an
InboundRegistry of providers and handles the full
verify → parse → respond pipeline without coupling to any HTTP framework.
Framework adapters (sms-web-axum, sms-web-warp, etc.) convert their
native request/response types to/from the generic types defined here
using HeaderConverter and ResponseConverter.
Macros§
- implement_
webhook_ handler - Convenience macro for implementing webhook handlers in different frameworks.
Structs§
- Webhook
Processor - Framework-agnostic webhook processor.
Traits§
- Header
Converter - Trait for converting framework-specific request headers into the generic
Headerstype. - Response
Converter - Trait for converting a generic
WebhookResponseinto the framework’s native response type.