mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-06-01 01:54:00 +00:00
Remove CURL
rationale: http requests are not a primary concern of the application, and can be delegated to a lighter solution rather than interfacing with the CURL lib
This commit is contained in:
@@ -14,12 +14,13 @@
|
||||
/**
|
||||
* @brief WebClient implementation backed by cpp-httplib.
|
||||
*
|
||||
* Supports HTTP and HTTPS (requires
|
||||
* OpenSSL; see HTTPLIB_USE_OPENSSL_IF_AVAILABLE in CMakeLists.txt).
|
||||
* Supports HTTP and HTTPS (requires OpenSSL; see HTTPLIB_REQUIRE_OPENSSL
|
||||
* in CMakeLists.txt).
|
||||
*
|
||||
* URL parsing splits a full URL into scheme + host and path + query so that
|
||||
* httplib::Client can be constructed correctly. A new client instance is
|
||||
* created per request to ensure thread safety
|
||||
* URL parsing splits a full URL into origin (scheme://host[:port]) and
|
||||
* path + query so that httplib::Client can be constructed correctly.
|
||||
* A new client instance is created per request because the client is
|
||||
* bound to a single origin at construction time.
|
||||
*/
|
||||
class HttpWebClient final : public WebClient {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user