Struct ethcore_rpc::IpcServer
[−]
pub struct IpcServer<M = ()> where M: Metadata { /* fields omitted */ }
Methods
impl<M> Server<M> where M: Metadata
fn new<T>(socket_addr: &str, io_handler: T) -> Result<Server<M>, Error> where T: Into<MetaIoHandler<M>>
New server
fn with_rpc_handler(socket_addr: &str,
io_handler: RpcHandler<M>)
-> Result<Server<M>, Error>
io_handler: RpcHandler<M>)
-> Result<Server<M>, Error>
fn run(&self)
Run server (in current thread)
fn poll(&self)
Poll server requests (for manual async scenarios)
fn run_async(&self) -> Result<(), Error>
Run server (in separate thread)