It looks like you're new here. If you want to get involved, click one of these buttons!
def on_connect(ws):
response
response
argument as well. You can check websocket code here.