-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a protocol spec anywhere? #3
Comments
I managed to find this, which I'm guessing is the best thing available: https://github.com/ngrok/ngrok-rust/blob/main/muxado/PROTOCOL.md |
For the second part of my question, this was useful: inconshreveable/muxado#13 |
Thanks for the question! The implementation in this repository is, I believe, the closest there is to a spec. That said, I believe ngrok's position is that only clients using the official Agent SDKs or ngrok agent are supported, and anyone speaking muxado directly to ngrok's servers should expect no support, and possibly to be broken unexpectedly. Since it's not supported to speak this protocol directly, outside of the ngrok-maintained implementations of it, I don't particularly expect a more official spec or such. |
Thanks @euank, that all makes sense. I'm actually working on my own protocol, so not a huge deal if ngrok breaks compatibility in the future. I'm mostly just using muxado to save some time since it seems like a reasonable approach to stream muxing, and has production-quality implementations. |
Interesting library. Also I noticed yamux in go.mod, but apparently it's only used in a test. A comparison to yamux would be very useful.
The text was updated successfully, but these errors were encountered: