Skip to main content

Crate sololc_webhook_sdk

Crate sololc_webhook_sdk 

Source
Expand description

§Sololc Webhook SDK

Provides a high-performance, modern, and ergonomic WASI-HTTP Webhook SDK optimized for the Sololc Runtime.

This crate simplifies the development of Webhook microservices by abstracting raw WebAssembly System Interface (WASI) HTTP components into a routing style reminiscent of mainstream Rust web frameworks (such as Axum or Actix-web).

Re-exports§

pub use exports::wasi::http::incoming_handler::Guest;
pub use self::wasi::http::types::Fields;
pub use self::wasi::http::types::IncomingRequest;
pub use self::wasi::http::types::OutgoingResponse;
pub use self::wasi::http::types::ResponseOutparam;
pub use crate::http_client::client::HttpClient;

Modules§

exports
http_client
wasi

Structs§

Request
Exposes the ergonomic high-level wrapper types.
Response
Exposes the ergonomic high-level wrapper types.

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.