Global

Type Definitions


options

Type:
  • Object
Properties:
Name Type Argument Default Description
connect Object

See connection options

Properties
Name Type Argument Default Description
url string <optional>
"ws://localhost:8080/ws"

Crossbar "url" to connect to.

realm string <optional>
"realm1"

Crossbar "realm" for the "url".

publish Object <optional>
{}

See publish options

subscribe Object <optional>
{}

See subscribe options

call Object <optional>
{}

See call options

register Object <optional>
{}

See register options

Source:

RPC

Type:
  • Object
Properties:
Name Type Description
name string

The name of the RPC.

func function

The function to execute.

Source: