The wwHttp instance that is used for HTTP access. A new instance is created for every request using the CreatewwHttp()
method at the beginning of the request. If you need to modify request behavior you have to first call CreatewwHttp()
or you can override the method to do it for every request.
loClient = CREATEOBJECT("wwJsonServiceClient")
loClient.CreatewwHttp();
loClient.oHttp.AddHeader("Authorization", lcBearerToken)
loClient.oHttp.nTimeout = 15
loClient.CallService(...)
o.oHttp
See also:
Class wwJsonServiceClient© West Wind Technologies, 2023 • Updated: 05/19/23
Comment or report problem with topic