libwisp 0.2.0

a simple-to-use wisp rust library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Function: WispSetConnectionType

Sets the connection type (TCP/UDP) in the Wisp context.

- `ws_ctx` - mutable reference to the [`WispContext`]./WispContext.md.
- `conn` - a [`ConnectionType`]./ConnectionType.md enum value.

---

See also:

- [`ConnectionType`]./ConnectionType.md
- [`WispContext`]./WispContext.md
- [`WispGetConnectionType`]./WispGetConnectionType.md