1 write to _protocol
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
62
_protocol
= protocol ?? new NewtonsoftJsonHubProtocol();
4 references to _protocol
Microsoft.AspNetCore.SignalR.Tests.Utils (4)
TestClient.cs (4)
234
var payload =
_protocol
.GetMessageBytes(message);
288
if (
_protocol
.TryParseMessage(ref buffer, _invocationBinder, out var message))
355
HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(
_protocol
.Name,
_protocol
.Version), memoryBufferWriter);