http_get_servername

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION
SEE ALSO

NAME

http_get_servername, http_set_servername - get and set the server name string

SYNOPSIS

#include <pthr_http.h>

const char *http_get_servername (void);
const char *http_set_servername (const char *new_server_name);

DESCRIPTION

Get and set the server name (which is sent in the Server) header by the server when it responds to requests.
The default string is pthrlib-httpd/version.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

pthrlib-3.0.3

SEE ALSO

new_http_request(3), new_http_response(3), new_cgi(3).