File tree 1 file changed +8
-3
lines changed 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -808,9 +808,14 @@ TLS Upgrade
808
808
809
809
Upgrade an existing transport-based connection to TLS.
810
810
811
- Return a new transport instance, that the *protocol * must start using
812
- immediately after the *await *. The *transport * instance passed to
813
- the *start_tls * method should never be used again.
811
+ Create a TLS coder/decoder instance and insert it between the *transport *
812
+ and the *protocol *. The coder/decoder implements both *transport *-facing
813
+ protocol and *protocol *-facing transport.
814
+
815
+ Return the created two-interface instance. After *await *, the *protocol *
816
+ must stop using the original *transport * and communicate with the returned
817
+ object only because the coder caches *protocol *-side data and sporadically
818
+ exchanges extra TLS session packets with *transport *.
814
819
815
820
Parameters:
816
821
You can’t perform that action at this time.
0 commit comments