Class RpcRequest

Similar to gapi.client.HttpRequest except this object encapsulates requests generated by registered methods.

Index

Methods

Methods

public callback(callback: (jsonResp: any, rawResp: string) => void)

Executes the request and runs the supplied callback with the response.

Parameters

  • callback: (jsonResp: any, rawResp: string) => void

    The callback function which executes when the request succeeds or fails.