TGTGInsighttelegram intelligenceLIVE / telegram public index
Back to channels
djangoproject avatar

TGINSIGHT CHAT

djangoproject

@djangoproject

Technologies

connect with us: @XtakjoyX

Subscribers156Current channel subscribers
Tracked posts592Indexed post count
Recent reach105Sum of recent post views
Recent posts

Recent posts

Tag: #web_server · 1 posts

当前筛选 #web_server清除筛选

Posted Apr 15

http://aiohttp.readthedocs.io/en/stable/web.html#aiohttp-web-websockets In order to implement a #web_server, first create a #request handler. A request handler is a coroutine or regular function that accepts a Request instance as its only parameter and returns a Response instance: #aiohttp#asyncio from aiohttp import web async def hello(request): return web.Response(text="Hello, world") Next, create an Application instance and register the request handler with the application’s #router on a particular HTTP method and path:

105 views