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
# Async Function: WispSendPkt

Sends a raw binary packet over the Wisp connection.

- `ws_ctx` - mutable reference to the current [`WispContext`]./WispContext.md.
- `send_buf` - byte slice containing the packet to send.

**Returns:**  
`Result<(), Box<dyn std::error::Error>>`

---

See also:

- [`WispReadPkt`]./WispReadPkt.md
- [`WispContext`]./WispContext.md