tungstenite
0.26.2
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
,