Expand description
§Sololc Webhook Macros
Provides high-performance, zero-dependency procedural macro attributes for compile-time static routing configuration within the Sololc Webhook ecosystem.
This crate works closely with sololc-webhook-sdk to expand declarative attributes
into standard WASI-HTTP component model wasi:http/incoming-handler exports.
Attribute Macros§
- delete
- Routes an incoming HTTP
DELETErequest to the annotated handler function. - get
- Routes an incoming HTTP
GETrequest to the annotated handler function. - head
- Routes an incoming HTTP
HEADrequest to the annotated handler function. - options
- Routes an incoming HTTP
OPTIONSrequest to the annotated handler function. - patch
- Routes an incoming HTTP
PATCHrequest to the annotated handler function. - post
- Routes an incoming HTTP
POSTrequest to the annotated handler function. - put
- Routes an incoming HTTP
PUTrequest to the annotated handler function.