src/httpOverWebSocket.js
/**
       * Helper function. Pass a request into the main httpOverWebSocket
       * function.
       */
Helper function. Pass a request into the main httpOverWebSocket
function.
Helper function . Pass a request into the main httpOverWebSocket function .
function adjunct (method, url, requestConfig, data) {
        requestConfig = requestConfig || {};
        requestConfig.method = method;
        requestConfig.url = url;
        requestConfig.data = data;
        return httpOverWebSocket(requestConfig);
      }
function adjunct ( method , url , requestConfig , data ) { requestConfig = requestConfig || { } ; requestConfig . method = method ; requestConfig . url = url ; requestConfig . data = data ; return httpOverWebSocket ( requestConfig ) ; }
Helper function.
Helper function .