mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-18 16:17:14 +02:00
.github
bin
module
vendor
CPR
cpr
include
cpr
api.h
auth.h
bearer.h
body.h
callback.h
connect_timeout.h
cookies.h
cpr.h
cprtypes.h
curl_container.h
curlholder.h
digest.h
error.h
interface.h
limit_rate.h
low_speed.h
multipart.h
ntlm.h
parameters.h
payload.h
proxies.h
proxyauth.h
redirect.h
response.h
session.h
ssl_options.h
status_codes.h
timeout.h
unix_socket.h
user_agent.h
util.h
verbose.h
CMakeLists.txt
LICENSE
CivetWeb
ConcurrentQueue
Fmt
MDBC
MaxmindDB
POCO
PUGIXML
SAJSON
SimpleIni
Squirrel
TinyDir
UTF8
ZMQ
xxHash
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
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
|