Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/engine.io-protocol/v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ A payload is a series of encoded packets tied together. The payload encoding for
<length1>:<packet1>[<length2>:<packet2>[...]]
```
* length: length of the packet in __characters__
* packet: actual packets as descriped above
* packet: actual packets as described above

When XHR2 is not supported, the same encoding principle is used also when
binary data is sent, but it is sent as base64 encoded strings. For the purposes of decoding, an identifier `b` is
Expand Down
2 changes: 1 addition & 1 deletion packages/engine.io/test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ describe("server", () => {
});
});

it("should not suggest upgrades when none are availble", (done) => {
it("should not suggest upgrades when none are available", (done) => {
listen({ transports: ["polling"] }, (port) => {
const socket = new ClientSocket(`ws://localhost:${port}`, {});
socket.on("handshake", (obj) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/socket.io/test/socket.io.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ describe("server", () => {
nio.emit<"noArgs">,
);
expectType<ToEmit<ServerToClientEventsNoAck, "helloFromServer">>(
// These errors will dissapear once the TS version is updated from 4.7.4
// These errors will disappear once the TS version is updated from 4.7.4
// the TSD instance is using a newer version of TS than the workspace version
// to enable the ability to compare against `any`
sio.emit<"helloFromServer">,
Expand Down