URIReader optimizations/improvements, support for getHost/getBinHost functions, socket lib improvements + related improvements

This commit is contained in:
Thulinma 2023-04-10 03:45:14 +02:00
parent 4df771eb02
commit 1df76eff16
6 changed files with 70 additions and 42 deletions

View file

@ -67,6 +67,9 @@ namespace HTTP{
std::string userAgentOverride;
std::string getHost() const; ///< Gets hostname for connection, or [::] if local.
std::string getBinHost() const; ///< Gets binary form hostname for connection, or [::] if local.
private:
// Internal state variables
bool (*cbProgress)(uint8_t); ///< The progress callback, if any. Not called if set to a null pointer.