Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
HttpClient.h
Go to the documentation of this file.
1#pragma once
2#include "HttpRequest.h"
3#include "HttpResponse.h"
4
6class HttpClient {
7public:
8
9 friend class HttpRequest; // Only HttpRequest can use it - httpclient functionality is all provided through HttpRequest
10
11private:
12
13 bool sendRequest(const HttpRequest& request, HttpResponse& response); // common helper
14
15};
16
Defines the HttpRequest class for handling HTTP requests: headers, method, path, query string,...
HTTP HttpResponse class for managing status, headers, body, and streaming support.
Forward declaration for potential routing needs.
Definition HttpRequest.h:32
Represents an HTTP response object.