Add support for JSON-RPC batching (#67)
* Update StdioTransport documentation comments to indicate support for JSON-RPC batches * Add server support for JSON-RPC batching * Add client support for JSON-RPC batching * Fix bug that caused error messages to be wrapped unnecessarily
This commit is contained in:
parent
2a978d175e
commit
82f4fd29b3
1 changed files with 630 additions and 37 deletions
|
|
@ -78,7 +78,7 @@ struct ResponseTests {
|
|||
#expect(decodedError.code == -32700)
|
||||
#expect(
|
||||
decodedError.localizedDescription
|
||||
== "Parse error: Invalid JSON: Parse error: Invalid JSON: Invalid syntax")
|
||||
== "Parse error: Invalid JSON: Invalid syntax")
|
||||
} else {
|
||||
#expect(Bool(false), "Expected error result")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue