ne_print_request_header(3)

ne_print_request_header3

Add headers to a request

Part of ne_add_request_header(3).

Usage

#include <ne_request.h>

void ne_add_request_header(ne_request *request, const char *name, const char *value);

void ne_print_request_header(ne_request *request, const char *name, const char *format, ...);

Overview

The functions ne_add_request_header and ne_print_request_header can be used to add headers to a request, before it is sent.

ne_add_request_header simply adds a header of given name, with given value.

ne_print_request_header adds a header of given name, taking the value from the printf-like format string parameter and subsequent variable-length argument list.

Releases

9 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 8
  5. 9–10
  6. 11
  7. 12
  8. 13

From libneon27-dev 0.34.2-1 in Debian 13 (Trixie). Also shipped by libneon27-gnutls-dev. Parsed by carta from the page's man source.