Crate stack_epic_api
source ·Re-exports§
pub use crate::auth::BasicAuthMiddleware;pub use crate::auth::BasicAuthURIMiddleware;pub use crate::auth::EPIC_BASIC_REALM;pub use crate::auth::EPIC_BASIC_REALM;pub use crate::auth::EPIC_FOREIGN_BASIC_REALM;pub use crate::auth::EPIC_FOREIGN_BASIC_REALM;pub use crate::rest::*;
Modules§
- High level JSON/HTTP client API
- RESTful API server to easily expose services as RESTful JSON/HTTP endpoints. Fairly constrained on what the service API must look like by design.
Macros§
Structs§
- The state of the current fork tip
- TxHashSet
- Wrapper around a list of txhashset nodes, so it can be presented properly via json
- API Version Information
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