io/ Gateway.js |
io/ Gateway.jsThis library gives the ability to directly communicate with a server using the XMLHTTPRequest object in a non-browser specific way. Copyright
Relatedutil/Collections.js Summary
HTTPConnectFactoryThis creates a HTTPConnection factory that can produce http connetion object that are IE and Mozilla capable they can be used to GET and POST to a server It is oftend used in one go like: http = new HTTPConnectFactory().getInstance(); Returnsa factory to create xmlhttprequest objects with Summary
JSRemoteThis object handles sending. This can be used to send and receive data from the server Parameters
Summary
JSRemote. doRequestParameters
JSRemote. doGetRequestloads the file and uses the call back function func_into(String) to pass in the files contents - can also be used to pass variables in the ?test=123&booga=123 format Parameters
DeprecatedUse JSRemote.doRequest instead JSRemote. doFormPostRequestThis method implements a multi-field form submission via a POST, using the ‘fields’ object as a set of name:value pairs to pass as the form fields. It simply delegates to doPostRequest for the actual processing; the only functionality is serializing the fields. Note that this method’s parameter ordering does NOT correspond to doPostRequest’s. Parameters
JSRemote. doPostRequestDoes a simple post request, passing the bodyinfo as the body of the request - meaning the only way to get the bodyinfo out is to do #GetHttpRequestData().content# in coldfusion for example Parameters
DeprecatedUse JSRemote.doRequest instead JSRemote. doSoapPostThis does a soap compliant request to a server Parameters
DeprecatedUse JSRemote.doRequest instead |
the library version
var GATEWAY_VERSION