MCPcopy Create free account
hub / github.com/Raynos/engine.io-stream / EngineClient

Function EngineClient

client.js:7–16  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

5module.exports = EngineClient
6
7function EngineClient(options) {
8 options = options || {}
9
10 if (typeof options === "string") {
11 options = { path: options }
12 }
13
14 var socket = new EngineSocket(options)
15 return EngineStream(socket)
16}

Callers

nothing calls this directly

Calls 1

EngineStreamFunction · 0.85

Tested by

no test coverage detected