GoPxL SDK

- Home
- Files
- Namespace

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

Start streaming a streamable resource.

Not all resources are streamable, check the API docs. Ensure you have set the stream handler before calling this function to ensure you do not miss any messages.

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.