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

dart-lang / tools / 38098656002
94%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2026 12:32AM UTC
Jobs 1
Files 54
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: 95.558% (-1.1%) from 96.7%
38098656002

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.

1592 of 1666 relevant lines covered (95.56%)

3.71 hits per line

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