This method requests the initial communication with the Node.js server. Until this call is made, no communciation will occur between the client and server.
This is the only method in the Fovia API that does not support a Promise interface. This is due to the fact that this method will first determine if the browser nativelly supports Promises, and if not, include the necessary JavaScript.
client side callback that is invoked upon successfull connection with the server
that is an optional callback invokved upon an unrecoverable communication error with the Fovia Web Server
network address of the Node.js server. The default value is the IP address that served up the client's web page
port to use for the Node.js server. The default value is 8088
NOTE: nodeServerIP and port must both be specified or both empty (which uses the defaults)
This is an asynchronous method does not return any value. The connecitonCallback parameter reports any error condition. All calls return non-zero for error or zero (Fovia.ReturnCode.ok) for successs.
Generated using TypeDoc
Static class that requests and establishes a connection between the client and the Node.js server