braid-http
Advanced tools
Comparing version
{ | ||
"name": "braid-http", | ||
"version": "1.3.59", | ||
"version": "1.3.60", | ||
"description": "An implementation of Braid-HTTP for Node.js and Browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
# Braid-HTTP | ||
This polyfill library implements the [Braid-HTTP v04 | ||
protocol](https://github.com/braid-org/braid-spec/blob/master/draft-toomim-httpbis-braid-http-04.txt), | ||
with [HTTP Multiresponse](https://braid.org/meeting-89), and [Multiplexing | ||
v1.0](https://braid.org/protocol/multiplexing). It provides browsers with a | ||
`braid_fetch()` drop-in replacement for the `fetch()` API, and offers nodejs | ||
an `http` plugin, enabling simple Braid communication. | ||
This [ponyfill](https://ponyfill.com/) library extends the HTTP | ||
implementations of Browsers and Nodejs with Braid-HTTP; transforming them from | ||
*state transfer* to *state synchronization* systems. | ||
These features are provided in an elegant, backwards-compatible way: | ||
- Browsers: get a drop-in replacement for `fetch()` | ||
- Nodejs: get a route handler that adds abilities to the `http`, `https`, and `http2` modules | ||
It conforms to the [Braid-HTTP | ||
v04](https://github.com/braid-org/braid-spec/blob/master/draft-toomim-httpbis-braid-http-04.txt) | ||
specification, with the additional [HTTP | ||
Multiresponse](https://braid.org/meeting-89) and [Multiplexing | ||
v1.0](https://braid.org/protocol/multiplexing) extensions. | ||
Developed in [braid.org](https://braid.org). | ||
@@ -166,3 +173,3 @@ | ||
}) | ||
} | ||
}) | ||
).listen(9935) | ||
@@ -288,2 +295,2 @@ ``` | ||
[#753](https://github.com/node-fetch/node-fetch/issues/753).) We recommend | ||
using the `http` library (below) for requests on nodejs instead. | ||
using the `http` client on nodejs instead. |
88720
0.27%295
2.43%