userver: userver/hostinfo/blocking/get_hostname.hpp Source File
Loading...
Searching...
No Matches
get_hostname.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/hostinfo/blocking/get_hostname.hpp
4/// @brief @copybrief hostinfo::blocking::GetRealHostName
5/// @ingroup userver_universal
6
7#include <string>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace hostinfo::blocking {
12
13/// @brief Returns host name.
14/// @warning This is a blocking function.
15std::string GetRealHostName();
16
17} // namespace hostinfo::blocking
18
19USERVER_NAMESPACE_END