emailjs/emailjs-tcp-proxy

Name: emailjs-tcp-proxy

Owner: emailJS

Description: Tunnels tcp connections to socketio without TLS termination

Created: 2017-12-06 17:33:41.0

Updated: 2018-04-20 02:09:16.0

Pushed: 2018-05-23 07:46:31.0

Homepage: null

Size: 42

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

emailjs-tcp-proxy

Greenkeeper badge Build Status JavaScript Style Guide ES6+

Tunnels tcp connections to socketio without TLS termination. Browsers do not support raw TCP sockets, hence this library allows you to attach a proxy, which accepts any incoming socket.io connection and opens a corresponding tcp socket. To be used in conjunction with emailjs-tcp-socket

Usage as library to use in your own services
rt attachProxy from 'emailjs-tcp-proxy'
rt express from 'express'
rt { Server } from 'http'

t server = Server(express())
er.listen(12345, () => {
tachProxy(server)

Usage as standalone
clone git@github.com:emailjs/emailjs-tcp-proxy.git
mailjs-tcp-proxy
Y_PORT=1234 npm start

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.