-
Notifications
You must be signed in to change notification settings - Fork 31
Python Client
Mike J. Renaker / "MikeDEV edited this page Sep 29, 2023
·
2 revisions
Work in progress! This documentation is exclusively for the Python 0.2.0 client.
Below is an example of setting up a barebones client.
from cloudlink import client
# Initialize the client
client = client()
# Configure logging settings
client.logging.basicConfig(
level=client.logging.DEBUG
)
# Start the client
client.run(host="ws://127.0.0.1:3000/")
If you have a server that relies upon self-signed certificates, or utilizes some exotic certificate authority for SSL, you can call upon client.enable_ssl
.
client.enable_ssl(certfile="cert.pem")