Replies: 3 comments
-
I don't think this is something can can safely be added to the low-level library. You can use your own getUrlFunc to try out custom HTTP fetching, if you can identify a safe mechanism, I could add it to the |
Beta Was this translation helpful? Give feedback.
-
I came here looking for a |
Beta Was this translation helpful? Give feedback.
-
If anyone is still interested in long living connections (and optionally disabled Nagle's algorithm), below is the very dirty fix
|
Beta Was this translation helpful? Give feedback.
-
Describe the Feature
When using rpc providers, e.g
JsonRpcProvider
a new tcp connection is created for each request. This can add significant overhead to each request.It should be possible to enable the keeepalive on the provider.
Code Example
Beta Was this translation helpful? Give feedback.
All reactions