10. HTTP Routing : How HTTP Routing Works : Clients
 
Share this page                  
Clients
Clients using HTTP routing must call the Initiate method directly to supply the necessary credentials in the flags parameter. The Connect method does not support HTTP routing. After the Initiate call, the client's Call4GL calls work transparently the same way over HTTP routing as they would over DCOM routing.
The parameters of the RemoteServer System Class Initiate method are used with HTTP Routing as follows:
Routing
Specifies the string http activates HTTP routing
Location
Specifies the URL of your gatekeeper application (for example, https://myserver/httpapp2/OpenROADGatekeeper.ashx)
Flags
Specifies optional credential strings. For more information, see How You Can Pass Credentials (see How You Can Pass Credentials).
Image
Specifies an arbitrary string that gets passed to your gatekeeper application to use however it chooses
Type
Is ignored when using HTTP routing