Defines an API request.
constructFormdata() Constructs a FormData instance from an object.
the object to generate the FormData from
POST /api/connections/confirm/
- Promises to confirm a user connection
POST /api/connections/connect/
- Promises to connect to a user
delete() DELETE request
POST /api/connections/disconnect/
- Promises to disconnect from a user
The user to disconnect from
generateHeaders() A function used to generate the headers that need to be passed to the request performee.
get() GET request
patch() PATCH request
Request body
patchFormdata() PATCH request (multipart/form-data, application/x-www-form-urlencoded)
post() POST request
Request body
postFormdata() POST request (multipart/form-data, application/x-www-form-urlencoded)
put() PUT request
Request body
putFormdata() PUT request (multipart/form-data, application/x-www-form-urlencoded)
POST /api/connections/update/
- Promises to update a connection
Generated using TypeDoc
public ConnectionsAPI - Provides methods to interact with the Connections API