With Android, how do I set the maximum deadline for a Cloud Endpoint request?

Viewed 697

When making a ClientEndpoint API request from an Android app to an App-Engine service, how do I set a deadline/timeout for the execute() action?

I'm looking for something like:

Foo foo = endpoint.getSomething(id) .setDeadline(2000/*ms*/) .execute();
3 Answers

I am not sure if one can control that. Since the Endpoints are hosted in an App Engine environment, standard timeout for any App Engine HTTP Request should apply i.e. 60 seconds.

Related