Skip to content

6.3.0

Compare
Choose a tag to compare
@darrachequesne darrachequesne released this 10 Jan 16:10
· 62 commits to main since this release
e2b39b6

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