Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/w/s/wstunnel-0.0.3/wstunnel/test/__init__.py   wstunnel(Download)
from tornado.iostream import IOStream
from tornado.tcpserver import TCPServer
from wstunnel.filters import BaseFilter, FilterException
 
 
class RaiseFromWSFilter(BaseFilter):
    """
    A fake filter raising an exception when receiving data from websocket
    """
 
class RaiseToWSFilter(BaseFilter):
    """
    A fake filter raising an exception when sending data to websocket
    """