6.3.0
Bug Fixes
- properly parse relative URL with a "@" character (12b7d78)
- use explicit context for setTimeout function (#699) (047f420)
Features
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/
.
Links
- Diff: 6.2.3...6.3.0
- Server release: 6.3.0
- ws version:
~8.11.0
(diff)