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.
pub async fn start(
config: HttpSourceConfig,
tx: Sender<Event>,
) -> Result<HttpSourceHandle, String>Bind and start serving. Requests become events on tx; the handle stops
the listener. Fails only when the bind fails.