Back Previous Next


Linguist network package - connection

Syntax:

   connection {name} {elements}

Keyword handler:

   net.eclecity.linguist.network.keyword.NetworkKConnection.class

Runtime handler(s):

   net.eclecity.linguist.network.handler.NetworkHConnection.class

Function:

Declares an HTTP connection or an array of connections. The array size is fixed at time of compilation.

Before a connection can be used you must set its URL. Then you set any properties you need for a particular request. To send the request you can use post, or you can use the connection variable itself as part of a string expression.

Example(s):

   connection MyConnection
   connection HTTPConnections 5


Back Previous Next