Client

Type Alias Client 

Source
pub type Client = Client;

Aliased Type§

pub struct Client { /* private fields */ }

Trait Implementations§

Source§

impl SlackWebAPIClient for Client

Source§

fn post_json<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, url: &'life1 str, body: &'life2 str, token: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Send a post request to the slack api.

Source§

fn post<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, url: &'life1 str, token: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Send a post request to the slack api.