Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • url: string
    • cryptoApi: SymmetricCryptoApiWithKeys
    • onConnect: ((conn: default, localPublicKey: PublicKey, remotePublicKey: PublicKey, connectionRouteId: string) => void)
        • (conn, localPublicKey, remotePublicKey, connectionRouteId): void
        • Parameters

          • conn: default
          • localPublicKey: PublicKey
          • remotePublicKey: PublicKey
          • connectionRouteId: string

          Returns void

    Returns default

Properties

id: string

This is an id that is unique inside a connection group.

outgoing: true = true
type: "OutgoingWebsocketRoute" = OutgoingWebsocketRoute.staticType

Type is a string that identifies the type of the route.

For example this is 'OutgoingWebsocketRoute' or 'IncomingWebsocketRouteDirect' ...

staticType: "OutgoingWebsocketRoute" = 'OutgoingWebsocketRoute'

Accessors

Methods