mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Update mg_send_websocket_handshake2.md
This commit is contained in:
1 parent
56b9cd14cb
commit
29725c97f1
1 file changed
+4
-4
@@ -8,12 +8,12 @@ signature: |
|
||||
const char *extra_headers);
|
||||
---
|
||||
|
||||
Send websocket handshake to the server.
|
||||
Send WebSocket handshake to the server.
|
||||
|
||||
`nc` must be a valid connection, connected to a server. `uri` is an URI
|
||||
to fetch, `host` goes into the `Host` header, `protocol` goes into the
|
||||
`Sec-WebSocket-Proto` header (NULL to omit), extra_headers` is extra HTTP
|
||||
headers to send or `NULL`.
|
||||
`Sec-WebSocket-Proto` header (NULL to omit), `extra_headers` is an extra HTTP
|
||||
header to send or `NULL`.
|
||||
|
||||
This function is intended to be used by websocket client.
|
||||
This function is intended to be used by the WebSocket client.
|
||||
|
||||
Reference in new issue
Block a user