Clean up HTTP and JSON-RPC parsing code #7

Open
opened 2020-10-15 03:49:21 +02:00 by p · 0 comments
Owner

http_parserpp may be employed in json-rpc-test-server. backend_co_on_data etc. can then be deduplicated.

In the bi-directional mode the shell may act as a server and JSON-RPC parsing code can similarly be shared between the two programs. We need to be able to distinguish request from responses and branch accordingly. Think about detecting probable JSON-RPC 1.0 requests and responses--maybe just look at object field names.

`http_parserpp` may be employed in json-rpc-test-server. `backend_co_on_data` etc. can then be deduplicated. In the bi-directional mode the shell may act as a server and JSON-RPC parsing code can similarly be shared between the two programs. We need to be able to distinguish request from responses and branch accordingly. Think about detecting probable JSON-RPC 1.0 requests and responses--maybe just look at object field names.
p added this to the v1.2.0 milestone 2020-10-15 03:49:21 +02:00
p self-assigned this 2020-10-15 03:49:21 +02:00
p added a new dependency 2020-10-15 03:50:07 +02:00
p added a new dependency 2020-10-15 03:50:58 +02:00
p added this to the v1.2.0 project 2021-01-01 18:11:35 +01:00
Sign in to join this conversation.
No Label
WIP
easy
priority
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: p/json-rpc-shell#7
No description provided.