Skip to main content

JsonHttpClient

Trait JsonHttpClient 

Source
pub trait JsonHttpClient: Send + Sync {
    // Required method
    fn post_json<'life0, 'async_trait>(
        &'life0 self,
        request: JsonHttpRequest,
    ) -> Pin<Box<dyn Future<Output = FierrosResult<Value>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn post_json<'life0, 'async_trait>( &'life0 self, request: JsonHttpRequest, ) -> Pin<Box<dyn Future<Output = FierrosResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§