Lets say I want to pull out banknifty fut price for 5 min through websocket. Then give it a break for 2 min and then again resume it.
How do i do this through websocket ? In other words, if websockets stops in between, how do i start it again automatically ? ( I am not talking about restarting the code again but only the web socket)