[][src]Function grin_wallet::controller::owner_listener

pub fn owner_listener<T: ?Sized, C, K>(
    wallet: Arc<Mutex<T>>,
    addr: &str,
    api_secret: Option<String>,
    tls_config: Option<TLSConfig>,
    owner_api_include_foreign: Option<bool>
) -> Result<(), Error> where
    T: WalletBackend<C, K> + Send + Sync + 'static,
    OwnerAPIHandler<T, C, K>: Handler,
    C: NodeClient + 'static,
    K: Keychain + 'static, 

Listener version, providing same API but listening for requests on a port and wrapping the calls