ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPSConnection.hpp Source File
1 #ifndef SRC_HTTPSCONNECTION_HPP_
2 #define SRC_HTTPSCONNECTION_HPP_
17 #include "HTTPSServerConstants.hpp"
18 #include "HTTPConnection.hpp"
21 #include "ResourceResolver.hpp"
22 #include "ResolvedResource.hpp"
23 #include "ResourceNode.hpp"
25 #include "HTTPResponse.hpp"
37 virtual int initialize(int serverSocketID, SSL_CTX * sslCtx, HTTPHeaders *defaultHeaders);
38 virtual void closeConnection();
45 virtual size_t readBytesToBuffer(byte* buffer, size_t length);
46 virtual size_t pendingByteCount();
47 virtual bool canReadData();
48 virtual size_t writeBuffer(byte* buffer, size_t length);
Represents the request stream for an HTTP request.
Definition: HTTPRequest.hpp:22
Represents the response stream of an HTTP request.
Definition: HTTPResponse.hpp:25
Connection class for an open TLS-enabled connection to an HTTPSServer.
Definition: HTTPSConnection.hpp:32
This class is used internally to resolve a string URL to the corresponding HTTPNode.
Definition: ResourceResolver.hpp:22
Represents a single open connection for the plain HTTPServer, without TLS.
Definition: HTTPConnection.hpp:38
Definition: ConnectionContext.cpp:3
virtual int initialize(int serverSocketID, SSL_CTX *sslCtx, HTTPHeaders *defaultHeaders)
Definition: HTTPSConnection.cpp:25