Tornado 4.5 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: these services implement authentication and authorization slightly differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: class GoogleOAuth2LoginHandler(tornado0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.1 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: these services implement authentication and authorization slightly differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: class GoogleOAuth2LoginHandler(tornado0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 4.5 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: these services implement authentication and authorization slightly differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: class GoogleOAuth2LoginHandler(tornado0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: these services implement authentication and authorization slightly differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: 5.6. Integration with0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: these services implement authentication and authorization slightly differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: class GoogleOAuth2LoginHandler(tornado0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.5 Documentationmethods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: argument is passed to listen() you can run the program multiple times to create a multi-process service. 2. add_sockets: multi-process: sockets = bind_sockets(8888) tornado.process.fork_processes(0)0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: argument is passed to listen() you can run the program multiple times to create a multi-process service. 84 Chapter 6. Documentation Tornado Documentation, Release 6.4 2. add_sockets: multi-process:0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: argument is passed to listen() you can run the program multiple times to create a multi-process service. 2. add_sockets: multi-process: sockets = bind_sockets(8888) tornado.process.fork_processes(0)0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: argument is passed to listen() you can run the program multiple times to create a multi-process service. 84 Chapter 6. Documentation Tornado Documentation, Release 6.4 2. add_sockets: multi-process:0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
methods to log users in via these sites and, where applicable, methods to authorize access to the service so you can, e.g., download a user’s address book or publish a Twitter message on their behalf. Here web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": "/var/www"}), ]) We support virtual hosts with the add_handlers method, which takes in a host regular expression as the first argument: argument is passed to listen() you can run the program multiple times to create a multi-process service. 84 Chapter 6. Documentation Tornado Documentation, Release 6.4 2. add_sockets: multi-process:0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













