Skip to content
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

Support encode/decode of frames #6

Open
gabriel opened this issue Jul 23, 2015 · 0 comments
Open

Support encode/decode of frames #6

gabriel opened this issue Jul 23, 2015 · 0 comments

Comments

@gabriel
Copy link
Contributor

gabriel commented Jul 23, 2015

I need a way to plug into the RPC codec so that I can encode/decode (a frame) before msgpack decoding (and after encoding). This is to test encrypting and decrypting frames.

type Transform interface {
   Encode([]byte) []byte
   Decode([]byte) []byte
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant