Class AjxRpc
Object
|
+--AjxRpc
- class
AjxRpc
Defined in AjxRpc.js
Method Summary |
<static> Object
|
_getFreeRpcCtxt()
|
<static> void
|
_reap()
|
<static> Object
|
getRpcRequest(id)
Returns the request from the RPC context with the given ID.
|
<static> Object
|
invoke(requestStr, serverUrl, requestHeaders, callback, useGet)
Submits a request to a URL.
|
_RPC_CACHE_MAX
<static> Object _RPC_CACHE_MAX
_RPC_REAP_AGE
<static> Object _RPC_REAP_AGE
_RPC_REAP_COUNT
<static> Object _RPC_REAP_COUNT
_rpcCache
<static> Object _rpcCache
AjxRpc
AjxRpc()
_getFreeRpcCtxt
<static> Object _getFreeRpcCtxt()
_reap
<static> void _reap()
getRpcRequest
<static> Object getRpcRequest(id)
Returns the request from the RPC context with the given ID.
Parameters:
id
- [string] RPC context ID
invoke
<static> Object invoke(requestStr, serverUrl, requestHeaders, callback, useGet)
Submits a request to a URL. The request is handled through a pool of request
contexts (each a wrapped XmlHttpRequest). The context does the real work.
Parameters:
requestStr
- [string] HTTP request string/document
serverUrl
- [string] request target
requestHeaders
- [Array] HTTP request headers
callback
- [AjxCallback] callback (for async requests)
useGet
- [boolean] if true use get method, else use post
Documentation generated by
JSDoc on Thu Apr 27 13:58:40 2006