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

[ apache, bsd3, library, network ] [ Propose Tags ]

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


[Skip to Readme]
Versions 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0, 0.2.1.1
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 Apache-2.0
Author Yuji Yamamoto
Maintainer yuji-yamamoto@iij.ad.jp
Revised Revision 1 made by igrep at Tue Oct 16 08:41:58 UTC 2018
Category Network
Home page https://github.com/iij-ii/wss-client
Source repo head: git clone https://github.com/iij-ii/wss-client
Uploaded by igrep at Thu Jun 14 06:45:39 UTC 2018
Distributions NixOS:0.2.1.1
Executables wss-client-sample
Downloads 311 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-06-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
build-sample

Build sample file.

DisabledManual

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

Downloads

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-0.2.0.0

[back to package description]

wss-client

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

TODO

  • Support non-TLS connection via an HTTP proxy server (I have to modify the websockets package to do that).
  • Add APIs to modify config of both http-client and websockets.
  • Test with a mock server.

Example

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