fix: remove batched json rpc support (#408)
* fix: remove batched json rpc support * fix(test): fix schema
This commit is contained in:
parent
7d46b39b49
commit
f381c2b899
1 changed files with 2 additions and 3497 deletions
|
|
@ -172,24 +172,6 @@ where
|
|||
.extensions_mut()
|
||||
.insert(value);
|
||||
}
|
||||
JsonRpcMessage::BatchRequest(json_rpc_batch_request_items) => {
|
||||
for item in json_rpc_batch_request_items {
|
||||
match item {
|
||||
super::JsonRpcBatchRequestItem::Request(json_rpc_request) => {
|
||||
json_rpc_request
|
||||
.request
|
||||
.extensions_mut()
|
||||
.insert(value.clone());
|
||||
}
|
||||
super::JsonRpcBatchRequestItem::Notification(json_rpc_notification) => {
|
||||
json_rpc_notification
|
||||
.notification
|
||||
.extensions_mut()
|
||||
.insert(value.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue