Crate epic_api[][src]

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;

Modules

High level JSON/HTTP client API

Macros

Structs

HTTP server allowing the registration of ApiEndpoint implementations.

Errors that can be returned by an ApiEndpoint implementation.

Main interface into all node API functions. Node APIs are split into two seperate blocks of functionality called the ‘Owner’ and ‘Foreign’ APIs

Main interface into all node API functions. Node APIs are split into two seperate blocks of functionality called the ‘Owner’ and ‘Foreign’ APIs

TLS config

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

Type Definitions