Struct slack_morphism::SlackClientHttpSessionApi [−][src]
pub struct SlackClientHttpSessionApi<'a, SCHC> where
SCHC: SlackClientHttpConnector + Send, { /* fields omitted */ }
Implementations
impl<'a, SCHC> SlackClientHttpSessionApi<'a, SCHC> where
SCHC: SlackClientHttpConnector + Send,
[src]
impl<'a, SCHC> SlackClientHttpSessionApi<'a, SCHC> where
SCHC: SlackClientHttpConnector + Send,
[src]pub async fn http_get_uri<RS, PT, TS>(&self, full_uri: Url) -> ClientResult<RS> where
RS: for<'de> Deserialize<'de> + Send,
[src]pub async fn http_get<'p, RS, PT, TS>(
&self,
method_relative_uri: &str,
params: &'p PT
) -> ClientResult<RS> where
RS: for<'de> Deserialize<'de> + Send,
PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
TS: ToString + 'p + Send,
[src]pub async fn http_post<RQ, RS>(
&self,
method_relative_uri: &str,
request: &RQ
) -> ClientResult<RS> where
RQ: Serialize + Send + Sync,
RS: for<'de> Deserialize<'de> + Send,
[src]pub async fn http_post_uri<RQ, RS>(
&self,
full_uri: Url,
request: &RQ
) -> ClientResult<RS> where
RQ: Serialize + Send + Sync,
RS: for<'de> Deserialize<'de> + Send,
[src]Trait Implementations
Auto Trait Implementations
impl<'a, SCHC> RefUnwindSafe for SlackClientHttpSessionApi<'a, SCHC> where
SCHC: RefUnwindSafe,
impl<'a, SCHC> Send for SlackClientHttpSessionApi<'a, SCHC> where
SCHC: Sync,
impl<'a, SCHC> Sync for SlackClientHttpSessionApi<'a, SCHC> where
SCHC: Sync,
impl<'a, SCHC> Unpin for SlackClientHttpSessionApi<'a, SCHC>
impl<'a, SCHC> UnwindSafe for SlackClientHttpSessionApi<'a, SCHC> where
SCHC: RefUnwindSafe,