Re: How do I make my webhook object run a websocket function?

2020-01-09 Thread Jeremy Wai
going to answer my own question for the sake of anyone who runs into things while learning python: I needed channel redis that can pass messages from one process to another. redis is just a key/value storage server that you can install in ubuntu. On Wednesday, January 8, 2020 at 8:22:11 PM UTC-

How do I make my webhook object run a websocket function?

2020-01-08 Thread Jeremy Wai
I got a heroku server running on one web processing, in the routing.py I have application = ProtocolTypeRouter({ 'websocket': backEndConsumer, 'http': frontEndConsumer, }) my frontEndConsumer handles the http webhook requests and my backEndConsumer handles all my websock