Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
100 lines (99 sloc) 3.84 KB
{
"$schema": "https://raw.githubusercontent.com/crossbario/crossbar/master/crossbar.json",
"version": 2,
"controller": {
},
"workers": [
{
"type": "router",
"realms": [
{
"name": "realm1",
"roles": [
{
"name": "anonymous",
"permissions": [
{
"uri": "",
"match": "prefix",
"allow": {
"call": true,
"register": true,
"publish": true,
"subscribe": true
},
"disclose": {
"caller": false,
"publisher": false
},
"cache": true
}
]
}
]
}
],
"transports": [
{
"type": "rawsocket",
"endpoint": {
"type": "tcp",
"port": 8081,
"backlog": 1024
},
"max_message_size": 1048576,
"serializers": ["cbor", "msgpack", "json"]
},
{
"type": "web",
"endpoint": {
"type": "tcp",
"port": 8080,
"backlog": 1024
},
"paths": {
"/": {
"type": "static",
"directory": "../web",
"options": {
"enable_directory_listing": true
}
},
"ws": {
"type": "websocket",
"serializers": [
"cbor", "msgpack", "json"
],
"options": {
"allowed_origins": ["*"],
"allow_null_origin": true,
"enable_webstatus": false,
"max_frame_size": 1048576,
"max_message_size": 1048576,
"auto_fragment_size": 65536,
"fail_by_drop": true,
"open_handshake_timeout": 2500,
"close_handshake_timeout": 1000,
"auto_ping_interval": 10000,
"auto_ping_timeout": 5000,
"auto_ping_size": 4,
"compression": {
"deflate": {
"request_no_context_takeover": false,
"request_max_window_bits": 13,
"no_context_takeover": false,
"max_window_bits": 13,
"memory_level": 5
}
}
}
},
"info": {
"type": "nodeinfo"
}
}
}
]
}
]
}
You can’t perform that action at this time.