tungstenite
0.20.1
In tungstenite::
tls::
encryption::
plain
tungstenite
::
tls
::
encryption
::
plain
Function
wrap_stream
Copy item path
source
pub fn wrap_stream<S>(socket: S, mode:
Mode
) ->
Result
<
MaybeTlsStream
<S>>
where S:
Read
+
Write
,