[][src]Function eve_rs::listen

pub async fn listen<TContext, TMiddleware, TState>(
    app: App<TContext, TMiddleware, TState>,
    bind_addr: ([u8; 4], u16),
    shutdown_signal: Option<Receiver<()>>
) where
    TContext: 'static + Context + Debug + Send + Sync,
    TMiddleware: 'static + Middleware<TContext> + Clone + Send + Sync,
    TState: 'static + Send + Sync