mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Vendored
+385
-385
File diff suppressed because it is too large
Load Diff
Vendored
+3
-3
@@ -104,10 +104,10 @@ declare module gapi.client {
|
||||
* If supplied, the request is executed immediately and no gapi.client.HttpRequest object is returned
|
||||
*/
|
||||
callback?: () => any;
|
||||
}): HttpRequest;
|
||||
}): HttpRequest<any>;
|
||||
/**
|
||||
* Creates an RPC Request directly. The method name and version identify the method to be executed and the RPC params are provided upon RPC creation.
|
||||
* @param method The method to be executed.
|
||||
* @param method The method to be executed.
|
||||
* @param version The version of the API which defines the method to be executed. Defaults to v1
|
||||
* @param rpcParams A key-value pair of the params to supply to this RPC
|
||||
*/
|
||||
@@ -187,7 +187,7 @@ declare module gapi.client {
|
||||
* Similar to gapi.client.HttpRequest except this object encapsulates requests generated by registered methods.
|
||||
*/
|
||||
export class RpcRequest {
|
||||
|
||||
|
||||
/**
|
||||
* Executes the request and runs the supplied callback with the response.
|
||||
* @param callback The callback function which executes when the request succeeds or fails.
|
||||
|
||||
Reference in New Issue
Block a user