TGTGInsighttelegram intelligenceLIVE / telegram public index
← 峰青驿站

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @FengChingLocalization · Post #79 · Aug 8

#MacOS 仅限 Mac 设备使用

Hashtags

Results

1 similar post found

Search: #web_server

当前筛选 #web_server清除筛选
djangoproject

@djangoproject · Post #297 · 04/15/2017, 01:50 PM

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: