Update StdioClientTransport.cs (#68)
This commit is contained in:
parent
d83640d552
commit
cdcf134e7a
1 changed files with 3 additions and 2 deletions
|
|
@ -210,6 +210,7 @@ public sealed class StdioClientTransport : TransportBase, IClientTransport
|
|||
{
|
||||
try
|
||||
{
|
||||
line=line.Trim();//Fixes an error when the service prefixes nonprintable characters
|
||||
var message = JsonSerializer.Deserialize<IJsonRpcMessage>(line, _jsonOptions);
|
||||
if (message != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue