wss-client: A-little-higher-level WebSocket client.

[ bsd3, library, network ] [ Propose Tags ]

A-little-higher-level WebSocket client. Based on http-client and http-client-tls.

[Skip to Readme]
Versions [faq],,,,,
Dependencies base (>=4.7 && <5), bytestring, http-client (>=0.5.13), http-client-tls, network-uri, websockets (>=0.12.6 && <0.13), wss-client [details]
License BSD-3-Clause
Author Yuji Yamamoto
Category Network
Home page
Source repo head: git clone
Uploaded by igrep at 2019-11-26T06:02:30Z
Distributions NixOS:
Executables wss-client-sample
Downloads 2219 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-11-26 [all 1 reports]


[Index] [Quick Jump]



Build sample file.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for wss-client-

[back to package description]


A-little-higher-level WebSocket client library.
Thanks to http-client and http-client-tls, this package supports HTTP_PROXY environment variable and TLS.


  • Support non-TLS connection via an HTTP proxy server (I have to add one more API to http-client to check if the connection is proxied package to do that).
  • Add APIs to modify config of both http-client and websockets.


An example program is here: app/sample.hs.
Build the executable by enabling build-sample flag:

stack unpack wss-client
cd wss-client-*
stack init
stack build wss-client --flag wss-client:build-sample
stack exec wss-client-sample