4 implementations of GetMessageBytes
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
47public ReadOnlyMemory<byte> GetMessageBytes(HubMessage message)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
110public ReadOnlyMemory<byte> GetMessageBytes(HubMessage message)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocol.cs (1)
68public ReadOnlyMemory<byte> GetMessageBytes(HubMessage message)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
109public ReadOnlyMemory<byte> GetMessageBytes(HubMessage message)
7 references to GetMessageBytes
Microsoft.AspNetCore.SignalR.Client.Core (2)
Internal\SerializedHubMessage.cs (1)
68serialized = protocol.GetMessageBytes(Message);
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
131return WriteAsyncCore(hubMessage.GetType(), _protocol.GetMessageBytes(hubMessage), cancellationToken);
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (1)
613_cachedPingMessage = Protocol.GetMessageBytes(PingMessage.Instance);
SerializedHubMessage.cs (1)
66serialized = protocol.GetMessageBytes(Message);
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
131return WriteAsyncCore(hubMessage.GetType(), _protocol.GetMessageBytes(hubMessage), cancellationToken);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
234var payload = _protocol.GetMessageBytes(message);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Internal\DefaultHubMessageSerializer.cs (1)
32list.Add(new SerializedMessage(protocol.Name, protocol.GetMessageBytes(message)));