-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,8 @@ public class MockConnection : INatsConnection | |
public INatsSubscriptionManager SubscriptionManager { get; } = new TestSubscriptionManager(); | ||
|
||
public NatsHeaderParser HeaderParser { get; } = new NatsHeaderParser(Encoding.UTF8); | ||
public Func<(string Host, int Port), ValueTask<(string Host, int Port)>>? OnConnectingAsync { get; set; } | ||
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / check
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / check
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (main)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (main)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (latest)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (latest)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (v2.9)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (v2.9)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (v2.9)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (v2.9)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (latest)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (latest)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (main)
Check warning on line 108 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (main)
|
||
public Func<ISocketConnection, ValueTask<ISocketConnection>>? OnSocketAvailableAsync { get; set; } | ||
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / check
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / check
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (main)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (main)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (latest)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (latest)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (v2.9)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (v2.9)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (v2.9)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Windows (v2.9)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (latest)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (latest)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (main)
Check warning on line 109 in tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs GitHub Actions / Linux (main)
|
||
|
||
public ValueTask<TimeSpan> PingAsync(CancellationToken cancellationToken = default) => throw new NotImplementedException(); | ||
|
||
|