Changes between and of Version 1Version 2Ticket #5015
- Timestamp:
- 04/03/2011 12:31:22 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5015 – description
v1 v2 20 20 }}} 21 21 22 These details might even all be wrapped up inside an even simpler helper API: 23 24 {{{ 25 #!python 26 class SomeProtocol(Protocol): 27 def dataReceived(self, bytes): 28 if somecondition(): 29 self.transport = startTLS(ctx, self.transport, self) 30 }}} 31 22 32 The details might differ, but importantly an API like this can be implemented entirely outside the reactor, except for the new `switchProtocol` method (proposed already in #3204). 23 33
