1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-19 16:47:14 +02:00

Reinstate CPR using system library.

This commit is contained in:
Sandu Liviu Catalin
2021-03-27 00:18:51 +02:00
parent 91bb79403c
commit bee47a44c4
56 changed files with 5861 additions and 2 deletions

21
vendor/CPR/include/cpr/unix_socket.h vendored Normal file
View File

@ -0,0 +1,21 @@
#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