[HttpResponse]|[nil] response, [string] error = snetwork.get(url, headers, progressCallback)
Performs a GET web request synchronously.
Parameters
progressCallback
nil | "
fun(downloadDone:integer,downloadTotal:integer, uploadDone:integer, uploadTotal:integer) A function which will be called whenever progress is made on the request.
Return Value
error
stringThe error message if the request failed.