owickstrom / websub Goto Github PK
View Code? Open in Web Editor NEWA WebSub client for Haskell
License: Mozilla Public License 2.0
A WebSub client for Haskell
License: Mozilla Public License 2.0
The hub must be able to verify the subscription by sending a GET request to the callback URI. See Hub Verifies Intent of the Subscriber.
Right now everything's "foo"
Content distributed through a callback, as described in Content Distribution, should be sent on the appropriate subscriber channel.
Based on lease_seconds
from the hub, this library should set a timer to expire the subscription locally. Perhaps some notification to the user of the library would be nice, but not sure how that fits in with the current design.
Pass hub.secret
and verify X-Hub-Signature
header, as described in Authenticated Content Distribution.
A thing to note here is that the body
passed to the ContentDistributionCallback
is a lazy ByteString. Calculating the hash for it might have to be a responsibility of the user, if it is not possible to do that in a streaming way without converting it to a strict Bytestring.
The hub should be able to deny the subscription by sending a GET request, see Subscription Validation.
To avoid the the subscription expiring (see #7), users should be able to periodially renew the subscription. Perhaps the library can take care of this itself, even.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.