mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
This commit is contained in:
1 parent
ab000c684a
commit
3eb4eb8074
166 files changed
+3125
No files matched your search
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: "mg_send_response_line()"
|
||||
decl_name: "mg_send_response_line"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
void mg_send_response_line(struct mg_connection *nc, int status_code,
|
||||
const char *extra_headers);
|
||||
---
|
||||
|
||||
Sends the response status line.
|
||||
If `extra_headers` is not NULL, then `extra_headers` are also sent
|
||||
after the response line. `extra_headers` must NOT end end with new line.
|
||||
Example:
|
||||
|
||||
mg_send_response_line(nc, 200, "Access-Control-Allow-Origin: *");
|
||||
|
||||
Will result in:
|
||||
|
||||
HTTP/1.1 200 OK\r\n
|
||||
Access-Control-Allow-Origin: *\r\n
|
||||
|
||||
Reference in new issue
Block a user