evhttp_request_get_host

Returns the host associated with the request. If a client sends an absolute URI, the host part of that is preferred. Otherwise, the input headers are searched for a Host: header. NULL is returned if no absolute URI or Host: header is provided.

extern (C) nothrow
const(char)*
evhttp_request_get_host

Meta