NewWSConnection returns a new connection object
(log *zerolog.Logger)
| 22 | |
| 23 | // NewWSConnection returns a new connection object |
| 24 | func NewWSConnection(log *zerolog.Logger) Connection { |
| 25 | return &Websocket{ |
| 26 | log: log, |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // ServeStream will create a Websocket client stream connection to the edge |
| 31 | // it blocks and writes the raw data from conn over the tunnel |
no outgoing calls