 Tornado 6.5 Documentationyour code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve that overrides methods such as write_error and get_current_user and then subclass your own BaseHandler instead of RequestHandler for all your specific handlers. Handling request input The request handler the arguments passed into member variables; it may not produce any output or call methods like send_error. 3. prepare() is called. This is most useful in a base class shared by all of your handler subclasses0 码力 | 272 页 | 1.12 MB | 3 月前3 Tornado 6.5 Documentationyour code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve that overrides methods such as write_error and get_current_user and then subclass your own BaseHandler instead of RequestHandler for all your specific handlers. Handling request input The request handler the arguments passed into member variables; it may not produce any output or call methods like send_error. 3. prepare() is called. This is most useful in a base class shared by all of your handler subclasses0 码力 | 272 页 | 1.12 MB | 3 月前3
 Tornado 6.5 Documentationmain coroutine The Application object Subclassing RequestHandler Handling request input Overriding RequestHandler methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve that overrides methods such as write_error and get_current_user and then subclass your own BaseHandler instead of RequestHandler for all your specific handlers. Handling request input The request handler0 码力 | 437 页 | 405.14 KB | 3 月前3 Tornado 6.5 Documentationmain coroutine The Application object Subclassing RequestHandler Handling request input Overriding RequestHandler methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve that overrides methods such as write_error and get_current_user and then subclass your own BaseHandler instead of RequestHandler for all your specific handlers. Handling request input The request handler0 码力 | 437 页 | 405.14 KB | 3 月前3
 Julia 1.11.4Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 DocumentationEvaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 DocumentationEvaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.6 Release NotesEvaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.6 Release NotesEvaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 29 Handling Operating System Variation 388CONTENTS vi 30 Environment Variables 389 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 34.4 Exception0 码力 | 2007 页 | 6.73 MB | 3 月前3
 julia 1.10.10Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 9.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 9.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 28 Handling Operating System Variation 366 29 Environment Variables 367 29.1 File locations . . . . . . . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 33.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 33.4 Exception0 码力 | 1692 页 | 6.34 MB | 3 月前3 julia 1.10.10Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 9.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 9.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 28 Handling Operating System Variation 366 29 Environment Variables 367 29.1 File locations . . . . . . . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 33.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 33.4 Exception0 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.10.9Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 9.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 9.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 28 Handling Operating System Variation 366 29 Environment Variables 367 29.1 File locations . . . . . . . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 33.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 33.4 Exception0 码力 | 1692 页 | 6.34 MB | 3 月前3 Julia 1.10.9Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 9.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 9.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 28 Handling Operating System Variation 366 29 Environment Variables 367 29.1 File locations . . . . . . . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 33.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 33.4 Exception0 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.12.0 Beta4Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta4Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta3Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta3Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2057 页 | 7.44 MB | 3 月前3
 julia 1.12.0 beta1Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2047 页 | 7.41 MB | 3 月前3 julia 1.12.0 beta1Evaluation: Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 10.5 Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 10.6 Tasks (aka Coroutines) C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 29 Handling Operating System Variation 391CONTENTS vi 30 Environment Variables 392 30.1 File locations . Extracting useful information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 34.3 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 34.4 Exception0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 22 条
- 1
- 2
- 3














 
  
 