forked from khoih-prog/AsyncHTTPRequest_Generic
Added getter for url
This commit is contained in:
@ -524,8 +524,6 @@ bool AsyncHTTPRequest::_buildRequest()
|
||||
_request->write(_URL.query);
|
||||
_request->write(" HTTP/1.1\r\n");
|
||||
|
||||
_URL = {};
|
||||
|
||||
header* hdr = _headers;
|
||||
|
||||
while (hdr)
|
||||
|
@ -243,6 +243,8 @@ class AsyncHTTPRequest
|
||||
String respHeaderValue(const __FlashStringHelper *name);
|
||||
bool respHeaderExists(const __FlashStringHelper *name);
|
||||
#endif
|
||||
|
||||
const URL &url() const { return _URL; }
|
||||
|
||||
String headers(); // Return all headers as String
|
||||
|
||||
|
Reference in New Issue
Block a user