cbrx_connection_close

Close a connection to a hub previously opened, as specified by the connection handle.

Syntax: see API Call Structure

{

"method": "cbrx_connection_close",

"params": [connection-handle]

}

connection-handle is the The Connection Handles as an integer

Returns:

{

"result": true

}

  • Errors
  • If there is an error in the API method then a JSON-RPC Error Object will be returned.

    Example

    Example JSON-RPC request:

    Copy
    {
      "jsonrpc": "2.0",
      "id": 0,
      "method": "cbrx_connection_close",
      "params": [
        7654
      ]
    }

    Example successful response:

    Copy
    {
      "jsonrpc": "2.0",
      "id": 0,
      "result": true
    }