1NE_ADD_REQUEST_HEADE(3)       neon API reference       NE_ADD_REQUEST_HEADE(3)
2
3
4

NAME

6       ne_add_request_header, ne_print_request_header - add headers to a
7       request
8

SYNOPSIS

10       #include <ne_request.h>
11
12       void ne_add_request_header(ne_request *request, const char *name,
13                                  const char *value);
14
15       void ne_print_request_header(ne_request *request, const char *name,
16                                    const char *format, ...);
17

DESCRIPTION

19       The functions ne_add_request_header and ne_print_request_header can be
20       used to add headers to a request, before it is sent.
21
22       ne_add_request_header simply adds a header of given name, with given
23       value.
24
25       ne_print_request_header adds a header of given name, taking the value
26       from the printf-like format string parameter and subsequent
27       variable-length argument list.
28

SEE ALSO

30       ne_request_create
31

AUTHOR

33       Joe Orton <neon@lists.manyfish.co.uk>
34           Author.
35
37neon 0.29.5                     14 October 2010        NE_ADD_REQUEST_HEADE(3)
Impressum