Tornado 6.1 Documentation
of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
inner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 5.1 Documentation
inner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
inner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 4.5 Documentation
of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
inner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.5 Documentationinner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
inner loop of tornado.gen.Runner def run(self): # send(x) makes the current yield return x. # It returns when the next yield is reached future = self.gen.send(self.next) def callback(f): self.next = f.result() save 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 while redirects found in handlers are likely to be the result of other logic that may change. To send a temporary redirect with a RedirectHandler, add permanent=False to the RedirectHandler initialization0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













