Skip to main content

serve

Function serve 

Source
pub async fn serve(
    processor: Arc<SignalProcessor>,
    webhook_handlers: HashMap<String, Arc<WebhookInboundTransport>>,
    host: &str,
    port: u16,
) -> Result<()>
Expand description

Start the HTTP server, binding to host:port.

Blocks until the server shuts down.