The wwHttp instance that is used for HTTP access. The instance is set on init so it's always available and you can manipulate the HTTP request like calling AddHeader() to customize the request.

You can override this HTTP instance at any time prior to calling CallService(), either by creating a new one directly on .oHttp or by calling .CreatewwHttp(loMyHttp).

loClient = CREATEOBJECT("wwJsonServiceClient")

loClient.oHttp.AddHeader("Authorization", lcBearerToken)
loClient.oHttp.nTimeout = 15


See also:

Class wwJsonServiceClient

© West Wind Technologies, 2023 • Updated: 09/26/21
Comment or report problem with topic