Struct jsonrpc_http_server::Server [−][src]
pub struct Server { /* fields omitted */ }jsonrpc http server instance
Implementations
impl Server[src]
impl Server[src]pub fn address(&self) -> &SocketAddr[src]
Returns address of this server
pub fn close(self)[src]
Closes the server.
pub fn wait(self)[src]
Will block, waiting for the server to finish.
pub fn close_handle(&self) -> CloseHandle[src]
Get a handle that allows us to close the server from a different thread and/or while the
server is wait()ing.