Skip to main content

start

Function start 

Source
pub async fn start(
    config: HttpSourceConfig,
    tx: Sender<Event>,
) -> Result<HttpSourceHandle, String>
Expand description

Bind and start serving. Requests become events on tx; the handle stops the listener. Fails only when the bind fails.