Struct jsonrpsee_http_server::HttpServer[][src]

pub struct HttpServer { /* fields omitted */ }
Expand description

An HTTP JSON RPC server.

Implementations

Register all methods from a Methods of provided RpcModule on this server. In case a method already is registered with the same name, no method is added and a Error::MethodAlreadyRegistered is returned. Note that the RpcModule is consumed after this call.

Returns a Vec with all the method names registered on this server.

Returns socket address to which the server is bound.

Start the server.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.