Crate conjure_http

Source
Expand description

Interfaces for Conjure HTTP clients and servers.

Conjure services generate code that interacts with the types and traits in this crate, so that consumers are not tightly bound to specific client and server implementations.

§Macros

If the macros Cargo feature is enabled, the conjure_client macro can be used to create client implementations for non-Conjure APIs.

Modules§

client
The Conjure HTTP client API.
path_params
Path parameters.
safe_params
Safe-loggable request parameters.
server
The Conjure HTTP server API.

Structs§

PathParams
A data structure storing the raw, encoded, path parameters of the request.
SafeParams
A data structure storing safe-loggable parameters of a request.

Attribute Macros§

conjure_client
Creates a Conjure client type implementing the annotated trait.
conjure_endpoints
Creates a Conjure service type wrapping types implementing the annotated trait.
endpoint
A no-op attribute macro required due to technical limitations of Rust’s macro system.