Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/mod.ts>default#connectSocket

🔑 A strongly typed Pylon API client.
Latest
method default.prototype.connectSocket
import { default } from "https://deno.land/x/tpy@v1.0.0-RC/mod.ts";

Connects to the Pylon workbench WebSocket.

Parameters

optional
deploymentID: string

The deployment ID to follow the WebSocket when it disconnects. If empty, the function will use the set Tpy.deploymentID in the class.