Closed ninousf closed 2 years ago
version: 22.5.1.dev1
` from autobahn.asyncio.component import Component, run
def main(wamp_host, wamp_realm): comp = Component( transports=[ dict(type='rawsocket', url=f'rs://{wamp_host}:8081', serializer = 'msgpack', )], realm=wamp_realm, ) run([comp])
if name == "main": main('localhost', 'toto') ` failed: AttributeError: 'WampRawSocketClientProtocol' object has no attribute 'transport_details'
ok, ok , i add some empy details
`from autobahn.asyncio.component import Component, run
def main(wamp_host, wamp_realm): comp = Component( transports=[ dict(type='rawsocket', url=f'rs://{wamp_host}:8081', serializer = 'msgpack', transport_details = {}, )], realm=wamp_realm, ) run([comp])
if name == "main": main('localhost', 'toto') ` failed ValueError: 'transport_details' is not a valid configuration item
:(
version: 22.5.1.dev1
` from autobahn.asyncio.component import Component, run
def main(wamp_host, wamp_realm): comp = Component( transports=[ dict(type='rawsocket', url=f'rs://{wamp_host}:8081', serializer = 'msgpack', )], realm=wamp_realm, ) run([comp])
if name == "main": main('localhost', 'toto') ` failed: AttributeError: 'WampRawSocketClientProtocol' object has no attribute 'transport_details'
ok, ok , i add some empy details
`from autobahn.asyncio.component import Component, run
def main(wamp_host, wamp_realm): comp = Component( transports=[ dict(type='rawsocket', url=f'rs://{wamp_host}:8081', serializer = 'msgpack', transport_details = {}, )], realm=wamp_realm, ) run([comp])
if name == "main": main('localhost', 'toto') ` failed ValueError: 'transport_details' is not a valid configuration item
:(