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
56b9cd14
Commit
56b9cd14
authored
Jul 22, 2016
by
Evelyn
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_send_websocket_handshake.md
parent
3550cc8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mg_send_websocket_handshake.md
docs/c-api/http.h/mg_send_websocket_handshake.md
+4
-4
No files found.
docs/c-api/http.h/mg_send_websocket_handshake.md
View file @
56b9cd14
...
...
@@ -7,14 +7,14 @@ signature: |
const char *extra_headers);
---
Send
webs
ocket handshake to the server.
Send
s WebS
ocket handshake to the server.
`nc`
must be a valid connection, connected to a server.
`uri`
is an URI
to fetch,
extra_headers
` is
extra HTTP headers to send or `
NULL
`.
to fetch,
`extra_headers`
are
extra HTTP headers to send or
`NULL`
.
This function is intended to be used by
webs
ocket client.
This function is intended to be used by
the WebS
ocket client.
Note that the
H
ost header is mandatory in HTTP/1.1 and must be
Note that the
h
ost header is mandatory in HTTP/1.1 and must be
included in
`extra_headers`
.
`mg_send_websocket_handshake2`
offers
a better API for that.
...
...
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