diff options
| author | Stefan Boberg <[email protected]> | 2025-09-29 10:36:32 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-09-29 10:36:32 +0200 |
| commit | 2f0efec7ab0430f4f4858db87b7eecfbccc0f47c (patch) | |
| tree | 80ce35992a220260cf070fac739626f555de738a /src/zenserver-test/projectclient.h | |
| parent | fixed race condition in zen::logging::Get (#519) (diff) | |
| download | zen-2f0efec7ab0430f4f4858db87b7eecfbccc0f47c.tar.xz zen-2f0efec7ab0430f4f4858db87b7eecfbccc0f47c.zip | |
make cpr a HttpClient implementation detail (#517)
these changes remove cpr from anything which is not `HttpClient` internals.
The goal is to eventually replace cpr with a more direct curl interface to eliminate cpr since it's proven problematic due to their development practices which frequently breaks APIs and prevents us from updating vcpkg. But this PR is limited to refactoring existing cpr code to use `HttpClient` instead.
Diffstat (limited to 'src/zenserver-test/projectclient.h')
| -rw-r--r-- | src/zenserver-test/projectclient.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/zenserver-test/projectclient.h b/src/zenserver-test/projectclient.h deleted file mode 100644 index 8362ee0ee..000000000 --- a/src/zenserver-test/projectclient.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include <memory> - -#include <zenbase/refcount.h> -#include <zencore/compactbinary.h> - -namespace zen { - -/** - * Client for communication with local project service - * - * This is WIP and not yet functional! - */ - -class LocalProjectClient : public RefCounted -{ -public: - LocalProjectClient(int BasePort = 0); - ~LocalProjectClient(); - - CbObject MessageTransaction(CbObject Request); - -private: - struct ClientImpl; - - std::unique_ptr<ClientImpl> m_Impl; -}; - -} // namespace zen |