42 references to Default
ClientSample (2)
Tcp\TcpConnection.cs (2)
63var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
InMemory.FunctionalTests (1)
Http2\TlsTests.cs (1)
74var reader = PipeReaderFactory.CreateFromStream(PipeOptions.Default, sslStream, CancellationToken.None);
Microsoft.AspNetCore.Http.Connections.Tests (34)
LongPollingTests.cs (8)
25var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 45var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 67var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 90var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
ServerSentEventsTests.cs (8)
24var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 45var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 66var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, new PipeOptions(readerScheduler: PipeScheduler.Inline)); 88var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, new PipeOptions(readerScheduler: PipeScheduler.Inline)); 116var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
WebSocketsTests.cs (18)
33var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 80var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 122var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 174var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 205var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 239var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 273var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 312var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default); 354var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
DefaultHubDispatcherBenchmark.cs (2)
42var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
System.IO.Pipelines (2)
System\IO\Pipelines\Pipe.cs (2)
86/// <summary>Initializes a new instance of the <see cref="System.IO.Pipelines.Pipe" /> class using <see cref="System.IO.Pipelines.PipeOptions.Default" /> as options.</summary> 87public Pipe() : this(PipeOptions.Default)
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (1)
79int flushThreshold = (int)(4 * PipeOptions.Default.MinimumSegmentSize * JsonSerializer.FlushThreshold);