supabase-client-realtime 0.2.1

Realtime WebSocket client for supabase-client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Platform-specific WebSocket transport.
//!
//! Provides a unified interface for connecting, sending, and receiving
//! WebSocket messages on both native and WASM targets.

#[cfg(not(target_arch = "wasm32"))]
mod native;
#[cfg(not(target_arch = "wasm32"))]
pub(crate) use native::*;

#[cfg(target_arch = "wasm32")]
mod wasm;
#[cfg(target_arch = "wasm32")]
pub(crate) use wasm::*;