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.0 && <0.13), wss-client [details]
License BSD-3-Clause
Author Yuji Yamamoto
Revised Revision 1 made by igrep at Tue Oct 16 08:42:05 UTC 2018
Category Network
Home page
Source repo head: git clone
Uploaded by igrep at Tue Jul 10 03:12:15 UTC 2018
Distributions NixOS:
Executables wss-client-sample
Downloads 836 total (102 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-07-10 [all 1 reports]





Build sample file.


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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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