Comments (1)
Are you using the latest version? It looks like your resolver function will not be called due to the unknown Response
type hint. The then()
method will return a rejected promise in this case, you can chain this with an empty ->done()
call to report any issues in your chain.
It also looks like you may want to cancel the timer once the response is done. Currently, it will print the "timed out" message irrespective of whether the response resolved or rejected. See also #1.
I hope this helps
from reactphp-buzz.
Related Issues (20)
- Do not try to follow 304 (Not Modified) response
- Add to Response last effective Request or URI object HOT 3
- Truncated answers HOT 3
- Allow other PSR7 abstraction HOT 2
- Support HTTP upgrades (WebSocket etc.) HOT 1
- is $loop->run(); blocking? HOT 2
- Support HTTP 1.1 HOT 1
- Consider excluding upload time from timeout
- Example times out for http://yandex.ru/ HOT 3
- Middleware HOT 7
- Dropping support for PHP < 7.x HOT 2
- Request Timeout exception HOT 3
- Consider replacing array of options with dedicated methods HOT 2
- Client slow with Telegram urls HOT 1
- There is a way to send mutipart form data? HOT 1
- Allow sending raw request strings HOT 1
- Allow receiving the raw response body HOT 3
- Invalid content length for HEAD requests HOT 1
- Heads up! Development focus on react/http
- RFI: Deprecation of send() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactphp-buzz.