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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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
rt attachProxy from 'emailjs-tcp-proxy'
rt express from 'express'
rt { Server } from 'http'
t server = Server(express())
er.listen(12345, () => {
tachProxy(server)
clone git@github.com:emailjs/emailjs-tcp-proxy.git
mailjs-tcp-proxy
Y_PORT=1234 npm start