0

I am trying to build a connection using AIOHTTP where from client-side I will get multiple requests continuously. So at the server-side, I have to create WebSocket connection using AIOHTTP so that I can accept multiple messages in a single stable connection while at the client-side I will create AIOHTTP to accept POST requests. I have surfed a lot but didn't get a proper code where I am accepting multiple messages over a single WebSocket connection using AIOHTTP. Can anyone help me with code?

Thanks in advance.

Harshit
  • 1
  • 2
  • The flow you describe is not clear to me; do you need to have an aiohttp webapp that's also a websocket client to another upstream app? – Ionut Ticus May 12 '20 at 18:23
  • I got a solution. Basically I just want to create a websocket connection using AIOHTTP – Harshit May 12 '20 at 21:22
  • 1
    Should be fairly straightforward to use aiohttp's Websocket [client](https://docs.aiohttp.org/en/stable/client_quickstart.html#websockets); [server](https://docs.aiohttp.org/en/stable/web_quickstart.html#websockets) too. – Ionut Ticus May 12 '20 at 21:27

0 Answers0