You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How should this library be used with TLS connections? I don't see any function to help with opening a TLS connection. Is the user supposed to handle TLS himself by using another package such as tls?
tls has a Network.TLS.contextNew for making a new Context, which is used to send and receive data with tls. However, haskell-xmpp uses Handle instead. E.g. Network.XMPP.Core.initStream uses a Handle instead of a tlsContext or more generally a pair of functions for sending and receiving.
Is there a recommended way to use TLS in general or tls in particular?
The text was updated successfully, but these errors were encountered:
How should this library be used with TLS connections? I don't see any function to help with opening a TLS connection. Is the user supposed to handle TLS himself by using another package such as
tls
?tls
has aNetwork.TLS.contextNew
for making a newContext
, which is used to send and receive data withtls
. However,haskell-xmpp
usesHandle
instead. E.g.Network.XMPP.Core.initStream
uses aHandle
instead of atls
Context
or more generally a pair of functions for sending and receiving.Is there a recommended way to use TLS in general or
tls
in particular?The text was updated successfully, but these errors were encountered: