Cargo Features
[dependencies]
workflow-websocket = { version = "0.18.0", default-features = false, features = ["delay-reconnect", "wasm32-sdk", "ping-pong", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
- delay-reconnect
- wasm32-sdk
-
enable to make connection options available in the generated TypeScript bindings
- ping-pong
-
enable to provide manual control over the WebSocket Ping messages
- default = native-tls
-
The
native-tls
feature is set by default wheneverworkflow-websocket
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of tokio-tungstenite ^0.23.1
- native-tls-vendored
-
Enables native-tls-vendored of tokio-tungstenite ^0.23.1
- rustls-tls-native-roots
-
Enables rustls-tls-native-roots of tokio-tungstenite ^0.23.1
- rustls-tls-webpki-roots
-
Enables rustls-tls-webpki-roots of tokio-tungstenite ^0.23.1