Function HTTPRequest.request
Creates request on the underlying HTTPClient
. If there is no configuration errors, it tries to connect using HTTPClient
and passes parameters onto HTTPClient
.
Returns constant OK
if request is successfully created. (Does not imply that the server has responded), constant ERR_UNCONFIGURED
if not in the tree, constant ERR_BUSY
if still processing previous request, constant ERR_INVALID_PARAMETER
if given string is not a valid URL format, or constant ERR_CANT_CONNECT
if not using thread and the HTTPClient
cannot connect to host.