GoPxL SDK

- Home
- Files
- Namespace

const GoRequestResponse& GetResponse | ( | k64u | timeoutInMilliseconds = `DEFAULT_TRANSACTION_TIMEOUT_MSEC` | ) |

Gets the future transaction response value.

Waits until the response is available.

Version
  sIntroduced in 0.2.1.53.

Parameters

  timeoutInMilliseconds | Time to wait for the response in milliseconds. Default value is `DEFAULT_TRANSACTION_TIMEOUT_MSEC`.

Returns
  The request's response.

Exceptions

  GoPxLSdk::GoRequestError | If the server responds with a failed status for the request.
  GoPxLSdk::GoChannelError | If the request times out.