Expose connection object directly instead of proxying the request method

This commit is contained in:
2022-04-02 21:10:05 +02:00
parent 8f4a7b1f6d
commit 7076eb1543
2 changed files with 10 additions and 24 deletions

View File

@@ -37,6 +37,7 @@ validate common API requests. See class documentation to get and overview and op
Making custom requests
----------------------
:func:`mitel_ommclient2.client.OMMClient2.request` allowes you to send custom requests.
It just passes arguments and results to :func:`mitel_ommclient2.connection.Connection.request`.
:class:`mitel_ommclient2.client.OMMClient2` holds its :class:`mitel_ommclient2.connection.Connection`
in the connection attribute.
Use :func:`mitel_ommclient2.connection.Connection.request` directly for making some custom requests.
See :doc:`/manual/connection` about using this.