@archastro/sdk
    Preparing search index...

    Function platformSocketUrl

    • Convert an HTTP(S) platform origin to the Phoenix ApiSocket WebSocket URL. http(s)://host[:port]/...ws(s)://host[:port]/socket/api/websocket

      Parameters

      • apiBaseUrl: string

      Returns string