Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
92290cfe
Commit
92290cfe
authored
Jul 22, 2016
by
Evelyn
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_connect_ws.md
parent
29725c97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mg_connect_ws.md
docs/c-api/http.h/mg_connect_ws.md
+1
-1
No files found.
docs/c-api/http.h/mg_connect_ws.md
View file @
92290cfe
...
@@ -13,7 +13,7 @@ Helper function that creates an outbound WebSocket connection.
...
@@ -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
`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
no spaces, etc. By default,
`mg_connect_ws()`
sends Connection and
Host headers.
`extra_headers`
is an extra HTTP header
s
to send, e.g.
Host headers.
`extra_headers`
is an extra HTTP header to send, e.g.
`"User-Agent: my-app\r\n"`
.
`"User-Agent: my-app\r\n"`
.
If
`protocol`
is not NULL, then a
`Sec-WebSocket-Protocol`
header is sent.
If
`protocol`
is not NULL, then a
`Sec-WebSocket-Protocol`
header is sent.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment