MCPcopy
hub / github.com/benoitc/gunicorn / get

Method get

examples/frameworks/tornadoapp.py:16–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14
15class MainHandler(tornado.web.RequestHandler):
16 async def get(self):
17 # Your asynchronous code here
18 await asyncio.sleep(1) # Example of an asynchronous operation
19 self.write("Hello, World!")
20
21
22def make_app():

Callers 15

worker_intFunction · 0.45
__call__Method · 0.45
gunicorn_conf.pyFile · 0.45
test_root_endpointMethod · 0.45
test_health_endpointMethod · 0.45
test_info_endpointMethod · 0.45
test_large_responseMethod · 0.45
test_delay_endpointMethod · 0.45
test_not_foundMethod · 0.45
make_requestMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by 15

test_root_endpointMethod · 0.36
test_health_endpointMethod · 0.36
test_info_endpointMethod · 0.36
test_large_responseMethod · 0.36
test_delay_endpointMethod · 0.36
test_not_foundMethod · 0.36
make_requestMethod · 0.36
run_concurrentMethod · 0.36
run_testMethod · 0.36
run_basic_testFunction · 0.36