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

[ bsd3, library, network ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
build-sample

Build sample file.

Disabled

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.3.0.0
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 2018-10-16T08:41:47Z
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 2018-06-13T09:01:39Z
Distributions LTSHaskell:0.3.0.0
Reverse Dependencies 1 direct, 1 indirect [details]
Executables wss-client-sample
Downloads 3117 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-06-13 [all 1 reports]

Readme for wss-client-0.1.0.1

[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