RFC6455 icon indicating copy to clipboard operation
RFC6455 copied to clipboard

Messaging only package?

Open sharkydog opened this issue 3 years ago • 1 comments

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 avatar Nov 24 '22 10:11 sharkydog

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

sharkydog avatar Nov 26 '22 06:11 sharkydog