Struct tbot::event_loop::webhook::Http
source · pub struct Http<'a> { /* private fields */ }
Expand description
Configures the HTTP webhook server.
Implementations§
source§impl<'a> Http<'a>
impl<'a> Http<'a>
sourcepub async fn start(self) -> Result<Infallible, HttpWebhook>
pub async fn start(self) -> Result<Infallible, HttpWebhook>
Starts the server.