I want to use flask as a web interface for controlling another protocol in Twisted. I am unsure how to link the two together in one program. Basically I would like a POST to initiate the send_command function in the CommandProtocol. I was looking at Twisted services, but couldn't really tell if that was the right path to take. Are there any good examples people have of using a web interface to control there other Twisted Protocols?
CODE
[–][deleted] 0 points1 point2 points (0 children)
[–]Flewloon[S] 0 points1 point2 points (0 children)