blob: 481ed701c8e3654a5dd2240a36ae5682a9ec3da2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright (C) NGINX, Inc.
*/
#ifndef _NXT_UNIT_RESPONSE_H_INCLUDED_
#define _NXT_UNIT_RESPONSE_H_INCLUDED_
#include <inttypes.h>
#include "nxt_unit_sptr.h"
#include "nxt_unit_field.h"
struct nxt_unit_response_s {
uint64_t content_length;
uint32_t fields_count;
uint32_t piggyback_content_length;
uint16_t status;
nxt_unit_sptr_t piggyback_content;
nxt_unit_field_t fields[];
};
#endif /* _NXT_UNIT_RESPONSE_H_INCLUDED_ */
|