Struct solana_jsonrpc_http_server::ServerHandler[][src]

pub struct ServerHandler<M: Metadata = (), S: Middleware<M> = NoopMiddleware> { /* fields omitted */ }

jsonrpc http request handler.

Methods

impl<M: Metadata, S: Middleware<M>> ServerHandler<M, S>
[src]

Create new request handler.

Trait Implementations

impl<M: Metadata, S: Middleware<M>> Service for ServerHandler<M, S>
[src]

The Payload body of the http::Request.

The Payload body of the http::Response.

The error type that can occur within this Service. Read more

The Future returned by this Service.

Calls this Service with a request, returning a Future of the response.

Auto Trait Implementations

impl<M, S> Send for ServerHandler<M, S>

impl<M, S> Sync for ServerHandler<M, S>