Skip to main content

Crate sololc_webhook_macros

Crate sololc_webhook_macros 

Source
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 DELETE request to the annotated handler function.
get
Routes an incoming HTTP GET request to the annotated handler function.
head
Routes an incoming HTTP HEAD request to the annotated handler function.
options
Routes an incoming HTTP OPTIONS request to the annotated handler function.
patch
Routes an incoming HTTP PATCH request to the annotated handler function.
post
Routes an incoming HTTP POST request to the annotated handler function.
put
Routes an incoming HTTP PUT request to the annotated handler function.