From 29725c97f100240573a4603fa7170dc4982ad375 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Fri, 22 Jul 2016 16:08:59 +0100 Subject: [PATCH] Update mg_send_websocket_handshake2.md --- docs/c-api/http.h/mg_send_websocket_handshake2.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/c-api/http.h/mg_send_websocket_handshake2.md b/docs/c-api/http.h/mg_send_websocket_handshake2.md index 27c5c3b8..a297d0c6 100644 --- a/docs/c-api/http.h/mg_send_websocket_handshake2.md +++ b/docs/c-api/http.h/mg_send_websocket_handshake2.md @@ -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.