DioxusLabs/dioxus · error

Non web wasm32 clients are not supported yet

Error message

Non web wasm32 clients are not supported yet

What it means

Error "Non web wasm32 clients are not supported yet" thrown in DioxusLabs/dioxus.

Source

Thrown at packages/fullstack/src/payloads/websocket.rs:457

                    TMessage::Binary(bytes) => Ok(Message::Binary(bytes)),
                    TMessage::Close(Some(cf)) => Ok(Message::Close {
                        code: cf.code.into(),
                        reason: cf.reason.to_string(),
                    }),
                    TMessage::Close(None) => Ok(Message::Close {
                        code: CloseCode::Away,
                        reason: "Away".to_string(),
                    }),
                    TMessage::Ping(bytes) => Ok(Message::Ping(bytes)),
                    TMessage::Pong(bytes) => Ok(Message::Pong(bytes)),
                    TMessage::Frame(_frame) => Err(WebsocketError::Unexpected),
                },
                Some(Err(e)) => Err(WebsocketError::from(e)),
                None => Err(WebsocketError::closed_away()),
            };
        }

        unimplemented!("Non web wasm32 clients are not supported yet")
    }

    pub fn protocol(&self) -> Option<&str> {
        self.protocol.as_deref()
    }
}

// no two websockets are ever equal
impl<I, O, E> PartialEq for Websocket<I, O, E> {
    fn eq(&self, _other: &Self) -> bool {
        false
    }
}

// Create a new WebSocket connection that uses the provided function to handle incoming messages
impl<In, Out, E> IntoResponse for Websocket<In, Out, E> {
    fn into_response(self) -> Response {
        let Some(response) = self.response else {

View on GitHub (pinned to 393d190a80)

When it happens

Trigger: Thrown at packages/fullstack/src/payloads/websocket.rs:457 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of DioxusLabs/dioxus@393d190a80 (2026-08-16). Data as JSON: /api/errors/67de864089d29f48. Report an issue: GitHub.