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.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl !UnwindSafe for Server