Implement WebSocket upgradation for HTTP connections
Fixes #154.
Details
This PR implements the ability to upgrade an HTTP connection into a WebSocket one by implementing an upgrade() method on the OpineRequest object. (See discussion in linked issue.)
Checklist
[x] PR starts with #154.
[x] Has been tested (where required). (Haven't tested this extensively, but the basic example I wrote works.)
Implement WebSocket upgradation for HTTP connections
Fixes #154.
Details
This PR implements the ability to upgrade an HTTP connection into a WebSocket one by implementing an
upgrade()
method on theOpineRequest
object. (See discussion in linked issue.)Checklist