Changing token


  • Does anyone have a sample code to change the tokens while consuming messages using WebSocket without stopping the script?
    Example: Initially consuming messages for SBI-EQ and HDFC-EQ. Then after 5 min can we consume messages for ITC-EQ and LT-EQ. without stopping the script and manually changing the token values.