Skip to content

five-on-it / apps/client/src/ui/online / joinServerUrl

Function: joinServerUrl() ​

joinServerUrl(address): string | undefined

Defined in: apps/client/src/ui/online.ts:128

The WebSocket address of a game server from what a friend reads out: 192.168.1.23, 192.168.1.23:7777, host.local:7800, or a whole WebSocket or http(s) address (its scheme kept, secure or not); nothing for what is none.

Parameters ​

address ​

string

Returns ​

string | undefined