turn_driver

Function start_hooks_server

Source
pub async fn start_hooks_server<T>(
    bind: SocketAddr,
    hooks: T,
) -> Result<(), Error>
where T: Hooks + Send + Sync + 'static,
Expand description

Create a hooks service, which will create an HTTP server. The turn server can request this server and push events to this server.