Non-blocking socket and TLS functionality for PHP based on Amp.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs Update shared documentation files May 16, 2018
examples Use read() directly in example instead of ByteStream\pipe() Sep 8, 2017
src Cancel connect immediately when requested by token Oct 17, 2018
test
.editorconfig Update to recent Amp and amphp/byte-stream changes May 8, 2017
.gitattributes
.gitignore
.gitmodules Update to new shared docs repo Sep 27, 2017
.php_cs.dist lib → src Mar 14, 2018
.travis.yml
CONTRIBUTING.md
LICENSE Update to recent Amp and amphp/byte-stream changes May 8, 2017
Makefile
README.md
composer.json
phpunit.xml.dist

README.md

socket

Build Status CoverageStatus License

amphp/socket is a socket library for establishing and encrypting non-blocking sockets for Amp.

Installation

composer require amphp/socket

Examples

You can find several examples in the ./examples directory.