MCPcopy Create free account
hub / github.com/acl-dev/acl / getRemoteHost

Method getRemoteHost

lib_acl_cpp/src/http/HttpServletRequest.cpp:949–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947}
948
949const char* HttpServletRequest::getRemoteHost(void) const
950{
951 if (cgi_mode_) {
952 return acl_getenv("HTTP_HOST");
953 }
954 if (client_ == NULL) {
955 return NULL;
956 }
957 return client_->request_host();
958}
959
960const char* HttpServletRequest::getUserAgent(void) const
961{

Callers 5

doPostMethod · 0.80
http_requestMethod · 0.80
doPostMethod · 0.80
doConnectMethod · 0.80
open_peerMethod · 0.80

Calls 2

acl_getenvFunction · 0.85
request_hostMethod · 0.80

Tested by

no test coverage detected