ocket8888 commented on pull request #5539:
URL: https://github.com/apache/trafficcontrol/pull/5539#issuecomment-876751929
Yes. `RestApiSession` is a class that abstracts making request to an
arbitrary REST API, it is not specific to Traffic Ops in any way. TO-specific
code is in `tosession.py`.
```python3
class RestApiSession(object):
"""
This class represents a login session with a generic REST API server.
It provides base
functionality inherited by :class:`TOSession`.
"""
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]