ok how do you implement this code with okHttp
Code:
okhttp dosnt have .SetHttpParameter property
sule
Code:
B4X:
Sub Process_Globals
Dim hc AsHttpClient
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
hc.Initialize("hc")
hc.SetHttpParameter("http.protocol.handle-redirects",False)
EndIf
sule