userver: userver/hostinfo/blocking/get_hostname.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
get_hostname.hpp File Reference

Detailed Description

Returns host name.

Definition in file get_hostname.hpp.

Go to the source code of this file.

#include <string>
+ Include dependency graph for get_hostname.hpp:

Namespaces

namespace  hostinfo
 Information about current host.
 
namespace  hostinfo::blocking
 Blocking functions for getting information about hosts.
 

Functions

std::string hostinfo::blocking::GetRealHostName ()
 Returns host name.