pub trait WebhookHttpClient: Send + Sync {
// Required methods
fn post_outbound<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
url: &'life1 str,
payload: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_inbound<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<WebhookIncoming>, String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for webhook HTTP interactions.