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

dart-lang / tools / 38100195901
94%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2026 01:03AM UTC
Jobs 1
Files 10
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

10 Oct 2026 12:11AM UTC coverage: 94.066% (-1.5%) from 95.558%
38100195901

push

github

web-flow
[json_rpc_2] Add strictProtocolChecks parameter to Client (#2555)

Closes #2422

`Server` and `Peer` already accept a `strictProtocolChecks` flag that
allows requests which don't include the `jsonrpc` field. `Client` had no
equivalent, so there was no way to interoperate with a peer whose
responses omit that field.

Add a `strictProtocolChecks` parameter to `Client` and
`Client.withoutJson`, defaulting to `true` to match `Server`. When it is
`false`, a response missing the `jsonrpc` key is accepted, but a response
with a `jsonrpc` key set to anything other than `"2.0"` is still
rejected.

Pass the flag through `Peer.withoutJson` to the internal `Client`, so
`Peer(strictProtocolChecks: false)` relaxes response validation on the
client side as well as request validation on the server side.

745 of 792 relevant lines covered (94.07%)

4.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38100195901.1 11 Oct 2026 01:03AM UTC 10
94.07
GitHub Action Run
Source Files on build 38100195901
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38100195901
  • 2337f995 on github
  • Prev Build on main (#38098656002)
  • Delete
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