summaryrefslogtreecommitdiffstats
path: root/src/civetweb/docs/api/mg_header.md
blob: 403dc885f6857ca01cfe093b86733eeb01b2ee8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Civetweb API Reference

### `struct mg_header;`

### Fields

| Field | Type | Description |
| :--- | :--- | :--- |
|**`name`**|`const char *`| The name of the client request header |
|**`value`**|`const char *`| The value of the client request header |

### Description

The structure `mg_header` is used as a sub-structure in the [`struct mg_request_info;`](mg_request_info.md) structure to store the name and value of one HTTP request header as sent by the client.

### See Also

* [`struct mg_request_info;`](mg_request_info.md)