Skip to main content

Module types

Module types 

Source
Expand description

Transport-agnostic type aliases for endpoints

These types allow endpoints to work with both HTTP (axum) and WASM transports without modification.

Re-exports§

pub use crate::transports::http::server::ApiState;

Structs§

Json
JSON Extractor / Response.
Path
Extractor that will get captures from the URL and parse them using serde.
Query
Extractor that deserializes query strings into some type.
State
Extractor for state.