1 write to _protocol
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
62
_protocol
= protocol ?? new NewtonsoftJsonHubProtocol();
4 references to _protocol
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
src\SignalR\common\testassets\Tests.Utils\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);