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

Messaging only package? #68

Open
sharkydog opened this issue Nov 24, 2022 · 1 comment
Open

Messaging only package? #68

sharkydog opened this issue Nov 24, 2022 · 1 comment

Comments

@sharkydog
Copy link

Hello,
Is it possible or not-too-stupid to package only the Ratchet\RFC6455\Messaging namespace?

I am making a small HTTP/1.1 server crammed with only necessary features and I'd like to add websockets.
However, I don't want guzzle and I'll implement handshake myself.

I can just copy the namespace, but if (unlikely) my little project evolves to publish-worthy, I don't want to pull guzzle and psr interfaces.
Otherwise, my options would be to copy the Messaging folder and reference where I got it from (if license does not change in future).
Or implement RFC6455 from scratch, which I don't want to do.

@sharkydog
Copy link
Author

Also I have to copy a stripped version of PermessageDeflateOptions into Ratchet\RFC6455\Messaging and remove use statement from MessageBuffer.

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