TGTGInsighttelegram intelligenceLIVE / telegram public index
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