Ticket #4761 defect closed fixed
Server documentation should use explicit buildProtocol()s rather than magic "protocol = MyProtocol" on factories
|Reported by:||itamar||Owned by:||itamar|
Observation at the Twisted Lab in Boston suggests that buildProtocol as an important protocol/factory integration point is hard for new users to understand. This seems to be at least in part because the documentation tends to use the "protocol = MyProtocol" shortcut, which is basically magic and hides the existence buildProtocol from new developers.
All uses of factories in our documentation ought to use an explicit buildProtocol. The client and server howtos should document "protocol = MyProtocol" (but not use it otherwise).