Sampling capability (#7)
This commit is contained in:
parent
211cd2175b
commit
8c6dfd53c8
1 changed files with 370 additions and 9 deletions
|
|
@ -142,6 +142,7 @@ public sealed class StdioTransport : TransportBase
|
|||
try
|
||||
{
|
||||
var json = JsonSerializer.Serialize(message, _jsonOptions);
|
||||
Debug.WriteLine($"Sending message: {json}");
|
||||
|
||||
// Write the message followed by a newline
|
||||
await _process!.StandardInput.WriteLineAsync(json.AsMemory(), cancellationToken);
|
||||
|
|
|
|||
Loading…
Reference in a new issue