Comments (1)
707c714 sees too it that http requests that timeout automatically abort. So you will get an error when this happens. See the added test in the referred commit for a working example quite similar to your own.
from jayson.
Related Issues (20)
- data size limit on client requests HOT 2
- TCP client timeout support HOT 3
- gzip compression + alternate headers for server middleware HOT 1
- Compliant JSON-RPC 2.0 client notifications HOT 1
- Server.call type definitions and docs outdated HOT 4
- Server.prototype.call in jayson/promise should return a callback HOT 1
- Reason: TypeError: asn.define is not a function HOT 1
- Does this library expose signal to abort request in flight? HOT 1
- multiple parallel request from a stream HOT 1
- Few Questions
- How to run testing against Jayson HOT 1
- Handling cancelled request HOT 2
- "undefined" params works while "null" params not HOT 1
- @type dependencies should be devDependencies HOT 4
- can Jayson do "bidirectional" calling over websockets? HOT 1
- do tcp.connect every request is very heavy HOT 1
- Server CORS docs issue
- how to handle connection error
- Request timing out after 5 seconds. HOT 2
- Can Jayson RpcClient and RpcRequest support abortController?
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 jayson.