Sub HC_ResponseSuccess(Response As HttpResponse, TaskId As Int)
ProjectCode.IPAddress = Response.GetString("UTF8")
Log(Response.GetString("UTF8")) 'Returns contents
End Sub
to somthing that's OKhttp compatible?
Please give me a working example of the code above.
Thank you in advance.
Sub JobDone (Job As HttpJob)
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
If Job.Success = True Then
dim res as string
res = Job.GetString
else
Job.Release