|
GoPxL SDK
|
| GoTransaction Sub | ( | const std::string & | uri, |
| const GoJson & | content = {}, |
||
| const GoJson & | args = {} |
||
| ) |
Subscribes for notifications on an observable resource.
Not all resources are observable, check the API docs. Ensure you have set the subscription handler before calling this function to ensure you do not miss any messages.
| uri | The URI to the resource. |
| content | GoJson object of the content for the request. |
| args | GoJson object of arguments for the request. |
| GoChannelError | If not connected to channel. |