# 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>`

#### `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)

#### `fn stop_async(&self) -> Result<(), Error>`

#### `fn stop(&self) -> Result<(), Error>`

## Trait Implementations

### `impl<M> Drop for Server<M> where M: Metadata`

#### `fn drop(&mut self)`

A method called when the value goes out of scope. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)