https://github.com/matrixai/hs-multistream
https://github.com/matrixai/hs-multistream
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/matrixai/hs-multistream
- Owner: MatrixAI
- License: bsd-3-clause
- Created: 2017-05-20T13:25:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-25T10:20:27.000Z (over 8 years ago)
- Last Synced: 2025-01-24T06:29:45.641Z (12 months ago)
- Language: Haskell
- Size: 12.7 KB
- Stars: 2
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Haskell LibP2P - MultiStream implementation
WIP
# todo:
- start using quick check to implement tests for handling of multistream muxer.
- need to guarantee multistream protocols start with a '/' and have the correct format (similar to multiaddr)
- need to implement handling of behaviour for parser exceptions inline with go-multistream
- need to include a transport shim for haskell multistream based on go-multistream-muxer
- A lot of the functions over MultistreamMessage are not total functions. Not sure how to deal with this at the moment, other than using a phantom type that splits either Multistream or MultistreamMessage by header or body?
# notes:
- When running multistream in ghci using stack,
use `stack ghci --ghci-options -XOverloadedStrings` to pull in the language extension
# test suite:
- run `stack test`