Falcon v3.0.0 Documentation
Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.0.0 Summary Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 1055 页 | 739.30 KB | 1 年前3Falcon v3.0.1 Documentation
Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.0.1 Summary Fixed Contributors containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 1058 页 | 741.59 KB | 1 年前3Falcon v3.0.0-b2 Documentation
HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal attack surface for writing secure APIs 100% code coverage with a comprehensive Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.0.0 Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server0 码力 | 1041 页 | 730.21 KB | 1 年前3Falcon v3.0.0-b1 Documentation
HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal attack surface for writing secure APIs 100% code coverage with a comprehensive Reference Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.0.0 Changes to Supported Falcon on it. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server0 码力 | 1028 页 | 725.86 KB | 1 年前3Tornado 6.1 Documentation
than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado components like the IOLoop that use callbacks. Futures are usually transformed into their result with the await or yield keywords. Examples Here is a sample synchronous function: from tornado.httpclient import coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client = AsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.0 Documentation
than chaining callbacks. This is similar to the native coroutine feature introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado components like the IOLoop that use callbacks. Futures are usually transformed into their result with the await or yield keywords. Examples Here is a sample synchronous function: from tornado.httpclient import coroutine: from tornado.httpclient import AsyncHTTPClient async def asynchronous_fetch(url): http_client = AsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for0 码力 | 869 页 | 692.83 KB | 1 年前3Falcon v3.1.1 Documentation
Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.1.1 Summary Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 540 页 | 476.60 KB | 1 年前3Falcon v3.1.1-rc1 Documentation
Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.1.1 Summary Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 540 页 | 476.61 KB | 1 年前3Falcon v3.1.1-b3 Documentation
Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.1.1 Summary Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 540 页 | 476.61 KB | 1 年前3Falcon v3.1.1-a Documentation
Router Inspection Information Classes Visitor Classes Utilities URI Date and Time HTTP Status Async Other Testing Helpers Simulating Requests Other Helpers Changelogs 3.1.1 Summary Changes to Supported containers. $ pip install [gunicorn|uwsgi|waitress] ASGI Server Conversely, in order to run an async Falcon ASGI app, you will need an ASGI [https://asgi.readthedocs.io/en/latest/] application server in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: async def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_2000 码力 | 540 页 | 476.60 KB | 1 年前3
共 440 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44