gevent.wsgi

class gevent.wsgi.WSGIHandler(socket, address, server, rfile=None)
MessageClass

alias of Message

protocol_version = 'HTTP/1.1'
handle()
read_request(raw_requestline)
log_error(msg, *args)
read_requestline()
handle_one_request()
finalize_headers()
write(data)
start_response(status, headers, exc_info=None)
log_request()
format_request()
process_result()
run_application()
handle_one_response()
handle_error(type, value, tb)
get_environ()
class gevent.wsgi.WSGIServer(listener, application=None, backlog=None, spawn='default', log='default', handler_class=None, environ=None, **ssl_args)

A WSGI server based on StreamServer that supports HTTPS.

base_env = {'wsgi.version': (1, 0), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.multiprocess': False, 'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7', 'SCRIPT_NAME': '', 'wsgi.multithread': False}
handler_class

alias of WSGIHandler

set_environ(environ=None)
set_max_accept()
get_environ()
init_socket()
update_environ()
handle(socket, address)

Next page: gevent.local – Greenlet-local objects