Open oberstet opened 5 years ago
p.s. that can be RegisterOptions(details=True)
now, which is the "preferred" way right?
Also, if we're going to put that example in the docs, the "proxy" stuff should be removed because it's not correct and there's bugs in autobahn using TLS with it, apparently.
RegisterOption(details=True)
: we still need to add that https://github.com/crossbario/autobahn-python/issues/1143Re; RegisterOptions, yeah I was aware, it was a cut/paste. sorry .. Re; proxy / tls .. would be better (imo) to fix the AB/Component bug and leave the SSL in, minus my hack line ..
@oddjobz re: RegisterOptions
=> fixed yesterday .. released on AB v19.3.2
the proxy bug is fixed here https://github.com/crossbario/autobahn-python/pull/1149 (but still, it might be more-clear to leave out the proxy stuff from an example?)
There are scenarios where one might want to run a mix of native asyncio-only libraries and Twisted-only features in one application - while using Autobahn.
In principle, there are 2 ways:
The latter doesn't exist as far as we know, but the former does, and it involves interop in 2 dimensions:
@meejah has an awesome blog post about this here https://meejah.ca/blog/python3-twisted-and-asyncio and @oddjobz wrote the following example - which also uses
uvloop
andscenic
: