Currently, vgrok assumes http but there are some scenarios where you would want to use tcp only.
We could add a flag like vgrok 3000 --tcp vs vgrok 3000 --http which would be the easiest for backwards compat.
Though we could use a url like vgrok --listen http://127.0.0.1:3000 vs vgrok --listen tcp://127.0.0.1:3000 which would provide more options in the future since it includes proto/host/port and allow a path forward for listening on a specific host.
Currently, vgrok assumes http but there are some scenarios where you would want to use tcp only.
We could add a flag like
vgrok 3000 --tcpvsvgrok 3000 --httpwhich would be the easiest for backwards compat.Though we could use a url like
vgrok --listen http://127.0.0.1:3000vsvgrok --listen tcp://127.0.0.1:3000which would provide more options in the future since it includes proto/host/port and allow a path forward for listening on a specific host.