Re-exports
pub use crate::auth::BasicAuthMiddleware;
pub use crate::auth::BasicAuthURIMiddleware;
pub use crate::auth::AIGC_BASIC_REALM;
pub use crate::auth::AIGC_BASIC_REALM;
pub use crate::auth::AIGC_FOREIGN_BASIC_REALM;
pub use crate::auth::AIGC_FOREIGN_BASIC_REALM;
pub use crate::types::*;
Modules
- High level JSON/HTTP client API
- JSON RPC Client functionality
Macros
Structs
- HTTP server allowing the registration of ApiEndpoint implementations.
- Errors that can be returned by an ApiEndpoint implementation.
- TLS config
Enums
Traits
- Public definition used to generate Node jsonrpc api.
- Public definition used to generate Node jsonrpc api.
Functions
- Utility to serialize a struct into JSON and produce a sensible Response out of it.
- Pretty-printed version of json response as future
- Text response as HTTP response
- Listener version, providing same API but listening for requests on a port and wrapping the calls
- Parse request body
- Text response as future
- Convert Result to ResponseFuture