I got some Twisted code installing themself in a rector, and I’d like to edit them to make them compatible with crossbar.
Let’s take a very simple example :
from twisted.internet import reactor
from twisted.web.client import Agent
from twisted.web.http_headers import Headers
agent = Agent(reactor)
d = agent.request(‘GET’, ‘http://tavendo.com/’)
print ‘Response received’
How do I make that a runnable container by crossbar ?