Skip to content

1.0.0

Compare
Choose a tag to compare
@kelunik kelunik released this 01 Aug 19:55
v1.0.0
  • Changed minimum PHP version to 7.1
  • Added support for UDP / datagrams
  • Added Connector interface
  • Added EncryptableSocket interface
  • Added SocketAddress in favor of raw strings
  • Added TlsInfo exposing a connection's TLS details
  • Added hasTlsAlpnSupport() / hasTlsSecurityLevelSupport()
  • Changed SocketPool::checkout() to accept an ConnectContext parameter
  • Renamed BasicSocketPool to UnlimitedSocketPool
  • Renamed pair() to createPair()
  • Renamed enableCrypto() to setupTls()
  • Renamed ClientConnectContext to ConnectContext
  • Renamed ServerListenContext to BindContext
  • Renamed CryptoException to TlsException
  • Removed cryptoConnect, use connect() and call $socket->setupTls() on the returned socket instead
  • Removed StaticSocketPool, use StaticConnector instead with any other SocketPool implementation