agentWsUrl
View as Markdownfunction agentWsUrl(hubUrl): string;Defined in: agent/src/device.ts:35
ws(s)://…/agent for a hub base URL; refuses ws:// to anything but loopback.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hubUrl |
string |
Returns
Section titled “Returns”string