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
15
16
17
18
# Enum: ConnectionType

Defines the type of underlying connection protocol to use.

| Variant | Value | Description           |
|---------|--------|----------------------|
| `Tcp`   | `0x01` | TCP connection (default) |
| `Udp`   | `0x02` | UDP connection (untested) |

> **Note:** UDP support is currently untested.

---

See also:

- [`WispSetConnectionType`]./WispSetConnectionType.md — set connection type in context
- [`WispGetConnectionType`]./WispGetConnectionType.md — get connection type from context
- [`WispContext`]./WispContext.md — context holding connection info