spiral/roadrunner-tcp
TCP transport for Spiral RoadRunner applications. Provides a simple PHP TCP server/worker communication layer and helpers to read/write payloads over sockets, enabling custom RPC-style messaging and integration where HTTP isn’t required.
Full Changelog: https://github.com/roadrunner-php/tcp/compare/v4.1.0...v4.1.1
Full Changelog: https://github.com/roadrunner-php/tcp/compare/v4.0.0...v4.1.0
Spiral\RoadRunner\Tcp\Request ChangesremoteAddr has been changed from public to private. Use the getRemoteAddress method to access the property value.event has been changed from public to private. Use the getEvent method to access the property value.body has been changed from public to private. Use the getBody method to access the property value.connectionUuid has been changed from public to private. Use the getConnectionUuid method to access the property value.server has been changed from public to private. Use the getServer method to access the property value.Spiral\RoadRunner\Tcp\RequestInterface. The class Spiral\RoadRunner\Tcp\Request now implements this new interface.Spiral\RoadRunner\Tcp\Request class are no longer recommended for use; in v4.0, they will be private. It is necessary to use methods to access these properties.Full Changelog: https://github.com/roadrunner-php/tcp/compare/3.0.0...v3.1.0
Spiral\RoadRunner\Tcp\TcpEvent enum which contains constants representing different Tcp events has been introduced.Spiral\RoadRunner\Tcp\TcpResponse enum with constants for common responses has been added.Spiral\RoadRunner\Tcp\Request ChangesSpiral\RoadRunner\Tcp\TcpWorkerInterface ChangesIt has been updated with two new methods:
public function respond(string $body, TcpResponse $response = TcpResponse::Respond): void;Full Changelog: https://github.com/roadrunner-php/tcp/compare/v2.0.1...3.0.0
Full Changelog: https://github.com/spiral/roadrunner-tcp/compare/v2.0.0...v2.0.1
How can I help you explore Laravel packages today?