Viewing File: /home/ubuntu/misabloom-frontend-base/node_modules/rpc-websockets/build-ts/lib/client/websocket.js
/* A wrapper for the "qaap/uws-bindings" library. */
"use strict";
import WebSocket from "ws";
/**
* factory method for common WebSocket instance
* @method
* @param {String} address - url to a websocket server
* @param {(Object)} options - websocket options
* @return {Undefined}
*/
export default function (address, options) {
return new WebSocket(address, options);
}
Back to Directory
File Manager