def __init__(self, handler, config, **kwargs):
self.content_type = ("<STR_LIT:Content-Type>", "<STR_LIT>")<EOL>self.headers = [<EOL>("<STR_LIT>", "<STR_LIT:*>"),<EOL>("<STR_LIT>", "<STR_LIT:true>"),<EOL>("<STR_LIT>", "<STR_LIT>"),<EOL>("<STR_LIT>", "<STR_LIT>"),<EOL>]<EOL>self.handler = handler<EOL>self.config = config<EOL>
Base transport class.

        :param config: dict Should contain the config keys, like
          ``heartbeat_interval``, ``heartbeat_timeout`` and
          ``close_timeout``.