GoogleChromeLabs / pywebsocket3

BSD 3-Clause "New" or "Revised" License
44 stars 32 forks source link

Expose base.py as a public api. #28

Closed arenevier closed 3 years ago

arenevier commented 3 years ago

Extract methods that can be used to implement Websocket over HTTP/2

The implementation of HTTP/2 handshake is quite similar to HTTP/1 with a few differences:

So we can implement the handshake in a base class that will delegate some operations to the parent class.

We make _base.py public by renaming it to base.py

arenevier commented 3 years ago

two notes: