Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.
/ wss-client Public archive

A little higher level Secure WebSocket client library

License

Notifications You must be signed in to change notification settings

iijlab/wss-client

Repository files navigation

This repository has been moved to https://github.com/iij-ii/direct-hs/tree/master/wss-client.

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

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

About

A little higher level Secure WebSocket client library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published