Dim j As HttpJob
j.Initialize("", Me)
j.Download(proxyURL)
Wait For (j) JobDone (j As HttpJob)
If j.Success Then
resp.Status = j.Response.StatusCode
j.Response.GetAsynchronously("response", resp.OutputStream, True, 1) 'Resp is the ServletResponse param of the Handle method.
Wait For response_StreamFinish (Success As Boolean, TaskId As Int)
Else
Log ("error")
End If
j.Release