workers:- type: router realms: - name: realm1 roles: - name: anonymous permissions: - call: true publish: true register: true subscribe: true uri: '*' transports: - type: web endpoint: port: 8080 type: tcp paths: /: directory: ../web type: static ws: type: websocket
# url: ws://127.0.0.1:9001/ws - type: websocket endpoint: # port: 9000 # type: tcp type: unix path: /tmp/socket1
# url: ws://127.0.0.1:9001/ws- type: container components: - type: class classname: hello.AppSession realm: realm1 transport: type: websocket endpoint: type: unix path: /tmp/socket1 # host: 127.0.0.1 # port: 9000 # type: tcp url: ws://127.0.0.1:9000/ws options: pythonpath: - ..