• Create a unique ID for the websocket connection. By default returns a 6 digit numeric code.

    Parameters

    • Optionalalphabet: string

      Custom alphabet, for example numbers

    • Optionallength: number

      integer for number of digits in the code

    Returns string