From 92290cfe8159fd9662af5f2b0ecdf31ac2d7505f Mon Sep 17 00:00:00 2001 From: Evelyn Date: Fri, 22 Jul 2016 16:09:47 +0100 Subject: [PATCH] Update mg_connect_ws.md --- docs/c-api/http.h/mg_connect_ws.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/c-api/http.h/mg_connect_ws.md b/docs/c-api/http.h/mg_connect_ws.md index 417279c8..b0f38d74 100644 --- a/docs/c-api/http.h/mg_connect_ws.md +++ b/docs/c-api/http.h/mg_connect_ws.md @@ -13,7 +13,7 @@ Helper function that creates an outbound WebSocket connection. `url` is a URL to connect to. It must be properly URL-encoded, e.g. have no spaces, etc. By default, `mg_connect_ws()` sends Connection and -Host headers. `extra_headers` is an extra HTTP headers to send, e.g. +Host headers. `extra_headers` is an extra HTTP header to send, e.g. `"User-Agent: my-app\r\n"`. If `protocol` is not NULL, then a `Sec-WebSocket-Protocol` header is sent.