Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Latest commit

 

History

History
83 lines (54 loc) · 1.31 KB

api.rst

File metadata and controls

83 lines (54 loc) · 1.31 KB

API Documentation

TChannel

.. autoclass:: tchannel.TChannel
    :special-members: __init__
    :members:

.. autoclass:: tchannel.Request
    :members:

.. autoclass:: tchannel.Response
    :members:

.. automodule:: tchannel.context
    :members:


Serialization Schemes

Thrift

.. autoclass:: tchannel.schemes.ThriftArgScheme
    :members: __call__, register

.. autofunction:: tchannel.thrift_request_builder

.. autofunction:: tchannel.thrift.load

JSON

.. autoclass:: tchannel.schemes.JsonArgScheme
    :members: __call__, register

Raw

.. autoclass:: tchannel.schemes.RawArgScheme
    :members: __call__, register


Exception Handling

Errors

.. automodule:: tchannel.errors
    :members:
    :show-inheritance:

Retry Behavior

These values can be passed as the retry_on behavior to :py:meth:`tchannel.TChannel.call`.

.. automodule:: tchannel.retry
    :members:


Synchronous Client

.. autoclass:: tchannel.sync.TChannel
    :inherited-members:
    :members:


Testing

.. automodule:: tchannel.testing.vcr