# `socketio.sgunicorn`

class `socketio.sgunicorn.``GeventSocketIOBaseWorker`(age, ppid, socket, app, timeout, cfg, log)

  Bases: `gunicorn.workers.ggevent.GeventPyWSGIWorker`

  The base gunicorn worker class

  `run`()
  `transports` = None

class `socketio.sgunicorn.``GeventSocketIOWorker`(age, ppid, socket, app, timeout, cfg, log)

  Bases: `socketio.sgunicorn.GeventSocketIOBaseWorker`

  Default gunicorn worker utilizing gevent

  Uses the namespace ‘socket.io’ and defaults to the flash policy server being disabled.

  `policy_server` = True
  `resource` = 'socket.io'
  `server_class`

    alias of `SocketIOServer`

  `ws_wsgi_handler`

    alias of `GunicornWebSocketWSGIHandler`

  `wsgi_handler`

    alias of `GunicornWSGIHandler`

class `socketio.sgunicorn.``GunicornWSGIHandler`(config, *args, **kwargs)

  Bases: `gunicorn.workers.ggevent.PyWSGIHandler`, `socketio.handler.SocketIOHandler`

class `socketio.sgunicorn.``GunicornWebSocketWSGIHandler`(socket, address, server, rfile=None)

  Bases: `geventwebsocket.handler.WebSocketHandler`

  `log_request`()

class `socketio.sgunicorn.``NginxGeventSocketIOWorker`(age, ppid, socket, app, timeout, cfg, log)

  Bases: `socketio.sgunicorn.GeventSocketIOWorker`

  Worker which will not attempt to connect via websocket transport

  Nginx is not compatible with websockets and therefore will not add the wsgi.websocket key to the wsgi environment.

  `transports` = ['xhr-polling']