Struct jsonrpsee_http_client::HttpClient[][src]

pub struct HttpClient { /* fields omitted */ }

JSON-RPC HTTP Client that provides functionality to perform method calls and notifications.

Trait Implementations

impl Client for HttpClient[src]

fn request<'a, 'life0, 'async_trait, R>(
    &'life0 self,
    method: &'a str,
    params: JsonRpcParams<'a>
) -> Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'async_trait>> where
    R: DeserializeOwned,
    'a: 'async_trait,
    R: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Perform a request towards the server.

impl Debug for HttpClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.