Closed ldstein closed 11 years ago
Why the commit is done with my email? Can you write a unit test similar to the original one to test the behavior? Could you move the examples in a examples/ folder, instead of 'secure-test'? You can use testling to test it in the Browser, too.
Weird. Not quite sure how your email got associated with my commit and why it's dated as 22 days ago.
I'll fix up my repo, add the unit tests and resubmit the pull request.
This patch adds support for secure connections.
It includes a new method, createSecureServer:
To create a secure browser client, specify the 'wss' protocol:
To create a secure Node client, define a protocol object and pass appropriate certificates, authentication options, etc: