• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

emlove / jsonrpc-websocket / 38816647508
100%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 10:22PM UTC
Jobs 1
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Oct 2026 10:22PM UTC coverage: 100.0%. Remained the same
38816647508

push

github

web-flow
Forward ws_connect() kwargs to aiohttp, keep timeout for responses (#24)

* Forward ws_connect() kwargs to aiohttp, keep timeout for responses

The timeout given to Server was used both for waiting on responses and,
through the connect kwargs, as the timeout of aiohttp's ws_connect().
Since aiohttp 3.11 a float timeout there is deprecated (it becomes
ClientWSTimeout(ws_close=...)), so every connect of a Server created
with timeout emitted a DeprecationWarning. See #22.

Use timeout only for waiting on responses, and let ws_connect() take
keyword arguments that are passed on to aiohttp's ws_connect() on top
of the constructor ones. Headers given to ws_connect() are merged into
the constructor headers case-insensitively; constructor duplicates of
names the call does not override are kept. multidict, which aiohttp
already depends on, is now listed as a direct dependency.

Callers that want their own websocket timeouts pass
timeout=aiohttp.ClientWSTimeout(...) to ws_connect(). For callers that
passed timeout to Server, aiohttp's default now applies, so ws_close
goes from that timeout to 10 seconds.

* Small style adjustment

---------

Co-authored-by: Emily Love Watson <emily@emlove.me>

7 of 7 new or added lines in 1 file covered. (100.0%)

123 of 123 relevant lines covered (100.0%)

4.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38816647508.1 15 Oct 2026 10:23PM UTC 2
100.0
Source Files on build 38816647508
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 802234fb on github
  • Prev Build on main (#38798313195)
  • Next Build on main (#38817202605)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc