mirror of
https://github.com/DumbDev69420/EscapeTheBackrooms_Internal.git
synced 2025-06-29 10:13:08 +08:00
22 lines
415 B
C
22 lines
415 B
C
![]() |
#ifndef CPR_UNIX_SOCKET_H
|
||
|
#define CPR_UNIX_SOCKET_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace cpr {
|
||
|
|
||
|
class UnixSocket {
|
||
|
public:
|
||
|
// NOLINTNEXTLINE(google-explicit-constructor, hicpp-explicit-conversions)
|
||
|
UnixSocket(std::string&& unix_socket) : unix_socket_(std::move(unix_socket)) {}
|
||
|
|
||
|
const char* GetUnixSocketString() const noexcept;
|
||
|
|
||
|
private:
|
||
|
const std::string unix_socket_;
|
||
|
};
|
||
|
|
||
|
} // namespace cpr
|
||
|
|
||
|
#endif
|