Extend the client API to return response options and code

Description

Current client-side API only returns the response payload to the application.

This does not allow the application code to act differently based on the options that may be present in the response. In addition, error codes are supposed to be captured as part of the exceptions.

This issue will homogenize the client-side API to be equivalent to the server-side and return a tuple of (code, options, payload) to the application.

Environment

None

Status

Assignee

Mališa Vučinić

Reporter

Mališa Vučinić

Labels

None

Story Points

None

Priority

Normal