![]() Note that it is still possible, in protocol code, to deeply query the transport layer on transport issues (such as checking a client-side SSL certificate). The logical protocol is informed of the transport layer instance, and can use it to send messages back and to check for the peer's identity. Connection between a logical protocol and a transport layer happens at the last possible moment - just before information is passed into the logical protocol instance. Twisted is designed for complete separation between logical protocols (usually relying on stream-based connection semantics, such as HTTP or POP3) and physical transport layers supporting such stream-based semantics (such as files, sockets or SSL libraries). ![]() 1.1 Separation of protocols and transportsĬore ideas Separation of protocols and transports. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |