- Notifications
You must be signed in to change notification settings - Fork42
php-http/socket-client
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The socket client use the stream extension from PHP, which is integrated into the core.
- TCP Socket Domain (tcp://hostname:port)
- UNIX Socket Domain (unix:///path/to/socket.sock)
- TLS / SSL Encyrption
- Client Certificate (only for php > 5.6)
Read the documentation at http://docs.php-http.org/en/latest/clients/socket-client.html
First launch the http server:
$ ./vendor/bin/http_test_server> /dev/null2>&1&
Then generate SSL certificates:
$ composer gen-ssl
Note: If you are running this on macOS and get the following error: "Error opening CA Private Key privkey.pem", checkthis file.
Now run the test suite:
$ composertestPlease see ourcontributing guide.
If you discover any security related issues, please contact us atsecurity@php-http.org.
The MIT License (MIT). Please seeLicense File for more information.
About
Socket HTTP Client
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.