http-client
http-client copied to clipboard
Asynchronous http client for PHP based on workerman.
如何使用代理?
请问请求如何使用代理服务器?
支持 proxy功能, 需要 通过 [workerman AsyncTcpConnection](https://github.com/walkor/workerman/pull/1029). PR
看了下源码,MS没有方法设置,忽略 SSL错误
跟有的框架不兼容了 guzzle/psr 2.x的 "psr/http-message": "^1.1 || ^2.0" workerman/psr 的 "psr/http-message": "~1.0"
I decided use http client in my worker. **Server part works on workerman Worker with one thread ( $worker->count = 1; ) Business logic requires it.** Part of http client...
服务器A: ``` $response = [ "hello": "123456" ]; ``` $http->request($host,$response)->getBody()->getContents(); 接收端B: $request->only(['hello']); ``` "data": { "hello": "123456" } ``` 这是发送端 还是接收端 没处理
Hi @walkor Is it possible to continuously read a live video stream into a circular buffer? Thanks
When i send request to any web url with installed only TLS 1.3 i got error and connection close: SSL handshake error. SSL routines::tlsv1 alert protocol version. How fix and...
代码如下: ```php $connection = $request->connection; $client = new Client([ 'max_conn_per_addr' => 128, // 每个域名最多维持多少并发连接 'keepalive_timeout' => 30, // 连接多长时间不通讯就关闭 'connect_timeout' => 5, // 连接超时时间 'timeout' => 120, // 请求发出后等待响应的超时时间 ]);...