Skip to content

Engine.io not usable in web workers #120

@ghost

Description

Engine.io seems to rely on objects that are not available in web workers.

If I try to implement a test setup inside a web worker by using

importScripts('http://localhost:8080/engine.io.js');

the browser gives me an error: window is not defined.

Is there any chance of getting rid of these dependencies? Socket.io does work inside web workers, so I expected Engine.io to do so, too, since it is only part of Socket.io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions