# `socketio.handler`

This is a lower-level transports handler. It is responsible for calling your WSGI application.

class `socketio.handler.``SocketIOHandler`(config, *args, **kwargs)

  Bases: `gevent.pywsgi.WSGIHandler`

  `RE_DISCONNECT_URL` = <_sre.SRE_Pattern object>
  `RE_HANDSHAKE_URL` = <_sre.SRE_Pattern object>
  `RE_REQUEST_URL` = <_sre.SRE_Pattern object>
  `handle_bad_request`()
  `handle_disconnect_request`()
  `handle_one_response`()

    This function deals with ONE INCOMING REQUEST from the web.

    It will wire and exchange message to the queues for long-polling methods, otherwise, will stay alive for websockets.

  `handler_types` = {'websocket': <class 'socketio.transports.WebsocketTransport'>, 'xhr-multipart': <class 'socketio.transports.XHRMultipartTransport'>, 'htmlfile': <class 'socketio.transports.HTMLFileTransport'>, 'jsonp-polling': <class 'socketio.transports.JSONPolling'>, 'flashsocket': <class 'socketio.transports.FlashSocketTransport'>, 'xhr-polling': <class 'socketio.transports.XHRPollingTransport'>}
  `write_jsonp_result`(data, wrapper='0')
  `write_plain_result`(data)
  `write_smart`(data)