json_rpc_2: Add strictProtocolChecks parameter to Client
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start in pkgs/json_rpc_2/lib/src/client.dart at the response protocol check cited in the issue, then compare it with the strictProtocolChecks handling in pkgs/json_rpc_2/lib/src/server.dart. Confirm that Client exposes equivalent control for responses and that the mjson use case can omit the jsonrpc field when configured to skip strict checks.
Written by the indexing model from the issue text.
Description
Server and Peer classes have the strictProtocolChecks parameter that allows to skip the check for "jsonrpc":"2.0" field in requests:
But for Client there's no way to skip that check in a response:
For context, I'm trying to get it working with mjson C library which doesn't add this field in its responses.
- Dominant language
- Dart
- Stars
- 115
- Forks
- 105
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 32
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dart-lang/tools
-
package:markdown
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
feat(unified_analytics): support target package and version tracking in Event.dartCliCommandExecuted Openpackage:unified_analytics
-
package:code_builder
Difficulty 3/5 1-2 days Newbie friendliness 70/100
-
package:code_builder type-enhancement
Difficulty 5/5 Over a week Newbie friendliness 48/100
-
package:code_builder type-enhancement
Difficulty 4/5 3-5 days Newbie friendliness 58/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·