Reference
Classes
Core classes
- CompactClient
-
A client with 8 methods (stays inline since 8 <= 10).
- FullClient
-
A client with 12 methods (gets split since 12 > 10).
FullClient Methods
Methods for the FullClient class
- FullClient.get()
-
Send a GET request.
- FullClient.post()
-
Send a POST request.
- FullClient.put()
-
Send a PUT request.
- FullClient.delete()
-
Send a DELETE request.
- FullClient.patch()
-
Send a PATCH request.
- FullClient.head()
-
Send a HEAD request.
- FullClient.options()
-
Send an OPTIONS request.
- FullClient.connect()
-
Establish the connection.
- FullClient.disconnect()
-
Terminate the connection.
- FullClient.ping()
-
Measure round-trip latency.
- FullClient.authenticate()
-
Authenticate with the server.
- FullClient.refresh_token()
-
Refresh the authentication token.
Functions
Public functions
- connect()
-
Create and connect a client.