Re-exports

pub use crate::auth::BasicAuthMiddleware;
pub use crate::auth::BasicAuthURIMiddleware;
pub use crate::auth::GRIN_BASIC_REALM;
pub use crate::auth::GRIN_BASIC_REALM;
pub use crate::auth::GRIN_FOREIGN_BASIC_REALM;
pub use crate::auth::GRIN_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.

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

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