Struct jsonrpsee_http_server::HttpServer
source · pub struct HttpServer<M = ()> { /* private fields */ }
Expand description
An HTTP JSON RPC server.
Implementations§
source§impl<M: Middleware> Server<M>
impl<M: Middleware> Server<M>
sourcepub fn local_addr(&self) -> Result<SocketAddr, Error>
pub fn local_addr(&self) -> Result<SocketAddr, Error>
Returns socket address to which the server is bound.