Function handle_socket

Source
pub async fn handle_socket(
    websocket: WebSocketStream<StreamType>,
    target_config: &TargetConfig,
    client_ip: Option<String>,
) -> Result<()>