anvil_server::ws

Function on_message

Source
fn on_message(
    msg: Result<Message, Error>,
) -> Result<Option<Request>, RequestError>