WebSocket connection
computers.retrieve_ws(strid)
GET/computers/{id}/ws
Establish WebSocket for real-time bidirectional communication
Parameters
id: str
WebSocket connection
import os
from tzafon import Lightcone
client = Lightcone(
api_key=os.environ.get("TZAFON_API_KEY"), # This is the default and can be omitted
)
client.computers.retrieve_ws(
"id",
)