úΰVNone)Configures a secure WebSocket connection.1How to get bytes from the connection. Typically $, but could be something else like .A secure replacement for .let app _connection = return ()0runSecureClient "echo.websocket.org" 443 "/" appA secure replacement for .&let options = defaultConnectionOptionslet headers = []let app _connection = return ()DrunSecureClientWith "echo.websocket.org" 443 "/" options headers appKIf you want to run a secure client without certificate validation, use . For example: ÿNlet host = "echo.websocket.org" let port = 443 let path = "/" let options = defaultConnectionOptions let headers = [] let tlsSettings = TLSSettingsSimple -- This is the important setting. { settingDisableCertificateValidation = True , settingDisableSession = False , settingUseServerName = False } let connectionParams = ConnectionParams { connectionHostname = host , connectionPort = port , connectionUseSecure = Just tlsSettings , connectionUseSocks = Nothing } context <- initConnectionContext connection <- connectTo context connectionParams stream <- makeStream (fmap Just (connectionGetChunk connection)) (maybe (return ()) (connectionPut connection . toStrict)) runClientWithStream stream host path options headers $ \ connection -> do -- Do something with the connection. return () The default  value used by ./Runs a secure WebSockets client with the given . HostPortPath ApplicationHostPortPathOptionsHeaders ApplicationHostPortPathConfigOptionsHeaders Application   Safe        !"!wuss-1.1.2-9j38FE5q9o67BdGyARMRKdWussNetwork.WebSockets runClient runClientWithrunClientWithStream Paths_wussConfig connectionGetrunSecureClientrunSecureClientWith defaultConfigrunSecureClientWithConfig'connection-0.2.6-2aqYw8ygLcBAq4XT1U0KSZNetwork.ConnectionconnectionGetChunkconnectionGetLineconnectionParams tlsSettingsreaderwritercatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName