k0001 / network-simple

Haskell library abstracting common network sockets usage patterns.
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

the https example is not running, due to interface change? #38

Open codwil opened 9 months ago

codwil commented 9 months ago

app/Main.hs:20:31: error: Not in scope: type constructor or class ‘Z.Credentials’ NB: the module ‘Network.Simple.TCP.TLS’ does not export ‘Credentials’. Suggested fix: Perhaps use one of these: ‘Z.Credential’ (imported from Network.Simple.TCP.TLS), ‘T.Credentials’ (imported from Network.TLS), ‘T.Credential’ (imported from Network.TLS) | 20 | client :: CertificateStore -> Z.Credentials -> NS.HostName | ^^^^^^^^^^^^^