GoPxL SDK

- Home
- Files
- Namespace

GoTransaction Read | ( | const std::string & | uri,
|  | const GoJson & | content = `{}`,
|  | const GoJson & | args = `{}`
| ) |  |

Reads a resource and returns its data.

Analogous to HTTP's GET method: there is no content/body, and 'args' are similar to query strings.

Version
  Introduced in 0.2.1.53.

Parameters

  uri | The URI to the resource.
  content | GoJson object of the content for the request.
  args | GoJson object of arguments for the request.

Exceptions

  GoChannelError | If not connected to channel.

Returns
  Transaction object to monitor status and wait for results.