Disambiguate between protocol abstractions and sockets (this is temporary)

This commit is contained in:
David Fowler 2018-02-10 13:59:46 -08:00
parent 342c4c44f6
commit 01f4bf01cc
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.SignalR.Tests
public TestClient(bool synchronousCallbacks = false, IHubProtocol protocol = null, IInvocationBinder invocationBinder = null, bool addClaimId = false)
{
var options = new PipeOptions(readerScheduler: synchronousCallbacks ? PipeScheduler.Inline : null);
var pair = DuplexPipe.CreateConnectionPair(options, options);
var pair = Microsoft.AspNetCore.Sockets.DuplexPipe.CreateConnectionPair(options, options);
Connection = new DefaultConnectionContext(Guid.NewGuid().ToString(), pair.Transport, pair.Application);
var claimValue = Interlocked.Increment(ref _id).ToString();