Comments (7)
Okay, this definition is super incomplete and only works for binary :D I'll add it in the future when I get websockets worker better (close events, etc.)
from bs-webapi-incubator.
Hi! This project is kind of a dumping ground for incomplete APIs, so it'll fit right in! 😄 Once an API is complete it'll either be upstreamed to bs-platform or separated out into its own project. The bindings should be low-level, but including a high-level API beside it would be fine I think, as long as it doesn't require any outside dependencies (so it can't depend on most.js, but compatibility with it is fine).
A PR for this would be very welcome!
from bs-webapi-incubator.
Closing this as answered. Would love to see a PR!
from bs-webapi-incubator.
Has a solution for this emerged in the last 6 months?
from bs-webapi-incubator.
@keynan See https://redex.github.io/package/bs-websockets
from bs-webapi-incubator.
Thx @glennsl , I've had some trouble getting it to work. I believe the problem is that bs-websockets is a major version behind, and the repository author @cxa has archived the repo.
I don't suppose the @reasonml-community would care to try to take over the official fork.
Anyway I've tried to upgrade bs-websockets by hand (after the auto upgrader failed), but I'd appreciate an experienced eyes on it:
https://github.com/keynan/bs-websockets/pull/1/files?diff=split
from bs-webapi-incubator.
Hmm, bummer. I've commented on the PR.
Rules for getting a project adopted by reasonml-community is here: https://github.com/reasonml-community/meta. In short, someone needs to volunteer as maintainer and get approved by at least three members.
As an alternative, you might also want to have a look at bs-socket.io. That one's already managed by reasonml-community, and is up to date syntactically at least.
from bs-webapi-incubator.
Related Issues (20)
- Function for converting Node to real type HOT 1
- Project name HOT 2
- Nodelist forEach HOT 2
- Dom.Image does not exist (the current Dom.Image should be Dom.ImageData)?
- adding bindings to HtmlVideoElement HOT 3
- Binding for XHR HOT 1
- Classify for Dom.node HOT 4
- Adding replaceChild
- Canvas2d.putImageData creates erroneous calls when not using all the optionals. HOT 3
- Could be possible to perform auto-generation from WebIDL? HOT 3
- Bsdoc dependency makes contributing a bit difficult on Linux HOT 2
- Binding for URLSearchParams.entries() is incorrect
- Add bindings for HtmlTemplateElement
- unmet peer dependency warning HOT 1
- Regarding document.documentElement.scrollTop HOT 2
- Add functor to type CustomEvent.detail
- How to use HtmlInputElement (focus, select) ? HOT 5
- How to use addEventListener on window HOT 3
- Add DataTransfer bindings
- unsafeAsHtmlInputElement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bs-webapi-incubator.