engine.io-client
Advanced tools
Changelog
Changelog
6.5.1 (2023-06-28)
ws@~8.11.0
(no change)Changelog
6.5.0 (2023-06-16)
The Engine.IO client can now use WebTransport as the underlying transport.
WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.
References:
For Node.js clients: until WebTransport support lands in Node.js, you can use the @fails-components/webtransport
package:
import { WebTransport } from "@fails-components/webtransport";
global.WebTransport = WebTransport;
Added in 7195c0f.
Changelog
6.4.0 (2023-02-06)
The minor bump is due to changes on the server side.
ws@~8.11.0
(no change)Changelog
6.3.1 (2023-02-04)
ws@~8.11.0
(no change)Changelog
6.3.0 (2023-01-10)
The trailing slash which was added by default can now be disabled:
import { Socket } from "engine.io-client";
const socket = new Socket("https://example.com", {
addTrailingSlash: false
});
In the example above, the request URL will be https://example.com/engine.io
instead of https://example.com/engine.io/
.
Changelog
6.2.2 (2022-05-02)
This check was added for the flashsocket transport, which has been deprecated for a while now ([1]). But it fails with latest webpack versions, as the expression "__initialize" in WebSocket
gets evaluated to true
.
Default export of globalThis seems to have a problem in the "browser" field when the library is loaded asynchronously with webpack.