Skip to content

Instantly share code, notes, and snippets.

View adippel's full-sized avatar

Alexander Dippel adippel

View GitHub Profile
@adippel
adippel / ws4pyReconnectClient.py
Created March 24, 2017 08:15
ws4py Client implementing reconnection logic
import time
import socket
import threading
import logging
from ws4py.client import WebSocketBaseClient
from ws4py.streaming import Stream
logger = logging.getLogger(__name__)