Slide 19
Slide 19 text
simple proc abstraction
return a proc instance
EXAMPLE
def app(environ, start_response):
..
start_response(status, headers)
proc = MyProc(environ)
return proc
class MyProc(gunicorn.Proc):
def status(self):
return STATUS_ALIVE
def terminate(self, Reason):
….