Falcon v3.1.1-b3 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.0 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 362 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-rc1 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v0.3.0.1 Documentation@falcon.before(hooks.to_oid) def on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app.add_route('/items/{id}', CatalogItem()) Contents 1 Falcon Documentation Falcon? Instances of falcon.API are first-class WSGI apps, so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333. Why doesn’t Falcon include X? The Python0 码力 | 77 页 | 311.34 KB | 1 年前3
Falcon v0.2.0 Documentation@falcon.before(hooks.to_oid) def on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app.add_route('/items/{id}', CatalogItem()) Contents 1 Falcon Documentation Falcon? Instances of falcon.API are first-class WSGI apps, so you can use the standard pattern outlined in PEP-3333. In your main “app” file, you would simply wrap your api instance with a middleware app my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333. Why doesn’t Falcon include X? The Python0 码力 | 70 页 | 296.15 KB | 1 年前3
Falcon v3.0.1 Documentationrouting and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access routing and state management • Stable interfaces with an emphasis on backwards-compatibility • Simple API modeling through centralized RESTful routing • Highly-optimized, extensible code base • Easy access large-scale deployments. Flexible. Falcon leaves a lot of decisions and i`mplementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b2 Documentationlarge-scale deployments. Flexible. Falcon leaves a lot of decisions and i`mplementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. Due to Falcon’s install Falcon like this: $ cd falcon $ pip install . Or, if you want to edit the code, first fork the main repo, clone the fork to your desktop, and then run the following to install it using symbolic linking handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000...') # Serve until process0 码力 | 340 页 | 1.15 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













