Tornado 6.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.3 HTTP servers and clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . implementions of HTTP (HTTPServer and AsyncHTTPClient). • An asynchronous networking library including the classes IOLoop and IOStream, which serve as the building blocks for the HTTP components and can other protocols. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI. While it is possible to use the Tornado HTTP server as a container for other WSGI frameworks0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 DocumentationPrerequisites: Tornado 6.3 requires Python 3.9 or newer. The following optional packages may be useful:pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection http1connection – HTTP/1.x client/server implementation Asynchronous networking tornado.ioloop — Main event loop tornado.iostream — Convenient wrappers for non-blocking socketstornado.netutil — Miscellaneous network0 码力 | 437 页 | 405.14 KB | 3 月前3
Rust 程序设计语言 简体中文版 1.85.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1. 安装 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 一个你无法修复的无效状 态,那么 panic! 往往是合适的。 然而当错误预期会出现时,返回 Result 仍要比调用 panic! 更为合适。这样的例子包括解析器 接收到格式错误的数据,或者 HTTP 请求返回了一个表明触发了限流的状态。在这些例子中, 应该通过返回 Result 来表明失败预期是可能的,而调用者就必须决定该如何处理这个问题。 当你的代码在进行一个使用无效值进行调用时可能将用户置于风险中的操作时,代码应该首先 关键字来等待响应。接着我们调用其 text 方法来获取响应的文本,这里再一次使用 await 关键字等待。这两个步骤都是异步的。 对于 get 来说,我们需要等待服务器发送回其响应的第一部分,这会包含 HTTP 头 (headers)、cookies 等,这部分响应可以独立于响应体发送。特别是在响应体非常大的时候, 全部到达可能需要一些时间。因此我们不得不等待响应 整体 返回,所以 text 方法也是异步。0 码力 | 562 页 | 3.23 MB | 21 天前3
julia 1.10.1010 The Julia Project July 1, 2025Contents Contents i I Manual 1 1 Julia 1.10 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction since the last release. Note The documentation is also available in PDF format: julia-1.10.10.pdf. 1.1 Important Links Below is a non-exhasutive list of links that will be useful as you learn and use the "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.99 The Julia Project April 8, 2025Contents Contents i I Manual 1 1 Julia 1.10 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction since the last release. Note The documentation is also available in PDF format: julia-1.10.9.pdf. 1.1 Important Links Below is a non-exhasutive list of links that will be useful as you learn and use the "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.44 The Julia Project April 8, 2025Contents Contents i I Manual 1 1 Julia 1.11 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction since the last release. Note The documentation is also available in PDF format: julia-1.11.4.pdf. 1.1 Important Links Below is a non-exhaustive list of links that will be useful as you learn and use the "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationThe Julia Project April 15, 2025Contents Contents i I Manual 1 1 Julia 1.11 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction since the last release. Note The documentation is also available in PDF format: julia-1.11.5.pdf. 1.1 Important Links Below is a non-exhaustive list of links that will be useful as you learn and use the "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notes6 The Julia Project July 11, 2025Contents Contents i I Manual 1 1 Julia 1.11 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction since the last release. Note The documentation is also available in PDF format: julia-1.11.6.pdf. 1.1 Important Links Below is a non-exhaustive list of links that will be useful as you learn and use the "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEVThe Julia Project May 27, 2025Contents Contents i I Manual 1 1 Julia 1.13-DEV Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction the last release. Note The documentation is also available in PDF format: julia-1.13.0-DEV.pdf. 1.1 Important Links Below is a non-exhaustive list of links that will be useful as you learn and use the "github.com", "julialang.org") Threads.@spawn begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1The Julia Project July 14, 2025Contents Contents i I Manual 1 1 Julia 1.12-rc1 Documentation 2 1.1 Important Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Introduction the last release. Note The documentation is also available in PDF format: julia-1.12.0-rc1.pdf. 1.1 Important Links Below is a non-exhaustive list of links that will be useful as you learn and use the "github.com", "julialang.org") Threads.@spawn begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)")0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 32 条
- 1
- 2
- 3
- 4













