App Engine PHP SDK  v1 rev.445
The PHP runtime is available as an experimental Preview feature.
Static Public Member Functions | List of all members
google\appengine\runtime\ApiProxy Class Reference

Static Public Member Functions

static makeSyncCall ($package, $call_name, $request, $response, $deadline=null)
 
static setApiProxy ($apiProxy)
 

Member Function Documentation

static google\appengine\runtime\ApiProxy::makeSyncCall (   $package,
  $call_name,
  $request,
  $response,
  $deadline = null 
)
static

Makes a synchronous RPC call.

Parameters
string$packagePackage to call
string$call_nameSpecific RPC call to make
string$requestRequest proto, serialised to string
string$responseResponse proto string to populate
double$deadlineOptional deadline for the RPC call
static google\appengine\runtime\ApiProxy::setApiProxy (   $apiProxy)
static

Set the API Proxy instance used to make the RPC call. Allows for mocking in tests.

Parameters
resource$apiProxyAPI Proxy instance to use

The documentation for this class was generated from the following file: