Tornado 4.5 Documentation
concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Web framework tornado.web — RequestHandler and Application classes tornado development tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across asynchronous callbacks tornado.testing — Unit testing support for asynchronous and UI Configuring templates Template syntax Internationalization UI modules Authentication and security Cookies and secure cookies User authentication Third party authentication Cross-site request forgery0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.5 Documentationcan be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 5.1 Documentation
concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Web framework tornado.web — RequestHandler and Application classes tornado Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across asynchronous callbacks tornado.testing — Unit testing support for asynchronous and UI Configuring templates Template syntax Internationalization UI modules Authentication and security Cookies and secure cookies User authentication Third party authentication Cross-site request forgery0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 5.1 Documentation
can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
curl_httpclient with a properly-configured build of libcurl). In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: from tornado import gen @gen.coroutine def fetch_coroutine(url): http_client0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.5 Documentationconcurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Web framework tornado.web — RequestHandler and Application classes tornado handlers Templates and UI Configuring templates Template syntax Security Internationalization UI modules Authentication and security Cookies and signed cookies User authentication Third party authentication can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.4 Documentation
can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
can be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized like gevent are sometimes called coroutines as well, but in Tornado all coroutines use explicit context switches and are called as asynchronous functions). Coroutines are almost as simple as synchronous thread. They also make concurrency easier to reason about by reducing the number of places where a context switch can happen. Example: async def fetch_coroutine(url): http_client = AsyncHTTPClient() response0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













