wwHttp.send

Used to make an asynchronous HTTP call to the server and return the result into a callback function. This method provides error handling and any errors that occur are fired into the OnError handler.

The result of the Callback function will be routed to a function with a single parameter that contains the raw HTTP response text. The ErrorHandler receives an CallbackException object

o.send(Url,PostData,Callback,ErrorCallback)

Parameters

Url
The URL to call

PostData
Any POST data to send to the server

Callback
The javascript function to call when the call completes

ErrorCallback
The javascript function to call when the call fails. If not specified the error is ignored

See also:

Class wwHttp


  Last Updated: 7/4/2007 | © West Wind Technologies, 2008