amphp / socket

Non-blocking socket and TLS functionality for PHP based on Amp.
https://amphp.org/socket
MIT License
231 stars 38 forks source link

Move TLS info method from EncryptableSocket to Socket #98

Closed trowski closed 1 year ago

trowski commented 1 year ago

This allows most use-cases of sockets to use Socket, while only socket "owners" and factories would want to use or return EncryptableSocket instances.

Related to #92.

kelunik commented 1 year ago

Superceded by #100.