Remove batching support from StreamableHttpServerTransport (#372)
This commit is contained in:
parent
b743889987
commit
bac97efec6
1 changed files with 5 additions and 77 deletions
|
|
@ -70,7 +70,7 @@ internal class StreamClientSessionTransport : TransportBase
|
|||
id = messageWithId.Id.ToString();
|
||||
}
|
||||
|
||||
var json = JsonSerializer.Serialize(message, McpJsonUtilities.DefaultOptions.GetTypeInfo(typeof(JsonRpcMessage)));
|
||||
var json = JsonSerializer.Serialize(message, McpJsonUtilities.JsonContext.Default.JsonRpcMessage);
|
||||
|
||||
using var _ = await _sendLock.LockAsync(cancellationToken).ConfigureAwait(false);
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in a new issue