pub trait Dependencies {
    type Notifier: ActivityNotifier;
    fn activity_notifier(&self) -> Self::Notifier;
fn extend_with_set<S>(
        &self,
        handler: &mut MetaIoHandler<Metadata, S>,
        apis: &HashSet<Api>
    )
    where
        S: Middleware<Metadata>
; }
Expand description

RPC dependencies can be used to initialize RPC endpoints from APIs.

Associated Types

Required methods

Create the activity notifier.

Extend the given I/O handler with endpoints for each API.

Implementors