Closed shulard closed 9 years ago
Also linked to already pushed PR hoaproject/Socket#27 which is a draft about Socket wrapper implementation.
Not the way to that correctly. See hoaproject/Socket#27.
Not the right way to do that. I close that PR and must create a new one which include the last work on Socket lib.
I've refactored some objects in the Hoa\Websocket lib and I've added :
Socket
extension to deal with application transport ;Connection
extension to deal with the newSocket
implementation ;Handler
name to be more precise regarding toHoa\Socket
implementationThe following code allow me to connect to a websocket server :
This PR is related to :
isSecured
checked to enable encryptionHoa\Socket
Hoa\Socket
layer as generic as possible.