neon API reference NEADREQUESTHEA(3)
NAME
neaddrequestheader, neprintrequestheader - add headers
to a request
SYNOPSIS
#include
void neaddrequestheader (nerequest *request,
const char *name,
const char *value);
void neprintrequestheader (nerequest *request,
const char *name,
const char *format, ...);
DESCRIPTION
The functions neaddrequestheader and
neprintrequestheader can be used to add headers to a re-
quest, before it is sent.
neaddrequestheader simply adds a header of given name,
with given value.
neprintrequestheader adds a header of given name, taking
the value from the printf-like format string parameter and
subsequent variable-length argument list.
SEE ALSO
nerequestcreate(3)
AUTHOR
Joe Orton .
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
neon 0.25.5 Last change: 20 January 2006 1
neon API reference NEADREQUESTHEA(3)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWneon
Interface Stability Volatile
NOTES
Source for Neon is available on http:/opensolaris.org.
neon 0.25.5 Last change: 20 January 2006 2
|