Commit 29725c97 authored by Evelyn's avatar Evelyn Committed by GitHub

Update mg_send_websocket_handshake2.md

parent 56b9cd14
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment