165 references to HubConnection
Aspire.Hosting.Azure.Tests (1)
AzureSignalREmulatorFunctionalTest.cs (1)
107
var
connection = new HubConnectionBuilder().WithUrl(negotiationResponse.Url ?? "", option =>
Microsoft.AspNetCore.SignalR.Client (8)
HubConnectionBuilderHttpExtensions.cs (8)
35
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL.
47
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL.
60
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL and transports.
73
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL and transports.
87
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL.
99
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL.
112
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL and transports.
125
/// Configures the <see cref="
HubConnection
" /> to use HTTP-based transports to connect to the specified URL and transports.
Microsoft.AspNetCore.SignalR.Client.Core (156)
HubConnection.cs (21)
38
/// A <see cref="
HubConnection
"/> should be created using <see cref="HubConnectionBuilder"/>.
71
private static readonly MethodInfo _sendStreamItemsMethod = typeof(
HubConnection
).GetMethods(BindingFlags.NonPublic | BindingFlags.Instance).Single(m => m.Name.Equals(nameof(SendStreamItems)));
72
private static readonly MethodInfo _sendIAsyncStreamItemsMethod = typeof(
HubConnection
).GetMethods(BindingFlags.NonPublic | BindingFlags.Instance).Single(m => m.Name.Equals(nameof(SendIAsyncEnumerableStreamItems)));
101
/// The <see cref="Task"/> result does not block <see cref="
HubConnection
"/> operations.
124
/// Occurs when the <see cref="
HubConnection
"/> starts reconnecting after losing its underlying connection.
129
/// The <see cref="Task"/> result does not block <see cref="
HubConnection
"/> operations.
144
/// Occurs when the <see cref="
HubConnection
"/> successfully reconnects after losing its underlying connection.
147
/// The <see cref="string"/> parameter will be the <see cref="
HubConnection
"/>'s new ConnectionId or null if negotiation was skipped.
149
/// The <see cref="Task"/> result does not block <see cref="
HubConnection
"/> operations.
195
/// Indicates the state of the <see cref="
HubConnection
"/> to the server.
200
/// Initializes a new instance of the <see cref="
HubConnection
"/> class.
205
/// <param name="serviceProvider">An <see cref="IServiceProvider"/> containing the services provided to this <see cref="
HubConnection
"/> instance.</param>
209
/// The <see cref="
HubConnection
"/> will not reconnect if the <paramref name="reconnectPolicy"/> is null.
221
/// Initializes a new instance of the <see cref="
HubConnection
"/> class.
226
/// <param name="serviceProvider">An <see cref="IServiceProvider"/> containing the services provided to this <see cref="
HubConnection
"/> instance.</param>
243
_logger = _loggerFactory.CreateLogger(typeof(
HubConnection
));
280
throw new InvalidOperationException($"The {nameof(
HubConnection
)} cannot be started if it is not in the {nameof(HubConnectionState.Disconnected)} state.");
287
throw new InvalidOperationException($"The {nameof(
HubConnection
)} cannot be started while {nameof(StopAsync)} is running.");
329
/// Disposes the <see cref="
HubConnection
"/>.
2124
private readonly
HubConnection
_hubConnection;
2157
public ConnectionState(ConnectionContext connection,
HubConnection
hubConnection)
HubConnectionBuilder.cs (6)
15
/// A builder for configuring <see cref="
HubConnection
"/> instances.
30
Services.AddSingleton<
HubConnection
>();
36
public
HubConnection
Build()
50
throw new InvalidOperationException($"Cannot create {nameof(
HubConnection
)} instance. An {nameof(IConnectionFactory)} was not configured.");
53
throw new InvalidOperationException($"Cannot create {nameof(
HubConnection
)} instance. An {nameof(EndPoint)} was not configured.");
55
return serviceProvider.GetRequiredService<
HubConnection
>();
HubConnectionBuilderExtensions.cs (7)
29
/// Configures the <see cref="
HubConnection
"/> to automatically attempt to reconnect if the connection is lost.
41
/// Configures the <see cref="
HubConnection
"/> to automatically attempt to reconnect if the connection is lost.
56
/// Configures the <see cref="
HubConnection
"/> to automatically attempt to reconnect if the connection is lost.
68
/// Configures ServerTimeout for the <see cref="
HubConnection
" />.
71
/// <param name="timeout">ServerTimeout for the <see cref="
HubConnection
"/>.</param>
80
/// Configures KeepAliveInterval for the <see cref="
HubConnection
" />.
83
/// <param name="interval">KeepAliveInterval for the <see cref="
HubConnection
"/>.</param>
HubConnectionExtensions.cs (21)
11
/// Extension methods for <see cref="
HubConnection
"/>.
15
private static IDisposable On(this
HubConnection
hubConnection, string methodName, Type[] parameterTypes, Action<object?[]> handler)
32
public static IDisposable On(this
HubConnection
hubConnection, string methodName, Action handler)
47
public static IDisposable On<T1>(this
HubConnection
hubConnection, string methodName, Action<T1> handler)
65
public static IDisposable On<T1, T2>(this
HubConnection
hubConnection, string methodName, Action<T1, T2> handler)
84
public static IDisposable On<T1, T2, T3>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3> handler)
104
public static IDisposable On<T1, T2, T3, T4>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3, T4> handler)
125
public static IDisposable On<T1, T2, T3, T4, T5>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3, T4, T5> handler)
147
public static IDisposable On<T1, T2, T3, T4, T5, T6>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6> handler)
170
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6, T7> handler)
194
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8>(this
HubConnection
hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6, T7, T8> handler)
211
public static IDisposable On(this
HubConnection
hubConnection, string methodName, Type[] parameterTypes, Func<object?[], Task> handler)
227
public static IDisposable On(this
HubConnection
hubConnection, string methodName, Func<Task> handler)
242
public static IDisposable On<T1>(this
HubConnection
hubConnection, string methodName, Func<T1, Task> handler)
260
public static IDisposable On<T1, T2>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, Task> handler)
279
public static IDisposable On<T1, T2, T3>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, Task> handler)
299
public static IDisposable On<T1, T2, T3, T4>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, Task> handler)
320
public static IDisposable On<T1, T2, T3, T4, T5>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task> handler)
342
public static IDisposable On<T1, T2, T3, T4, T5, T6>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task> handler)
365
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, Task> handler)
389
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, Task> handler)
HubConnectionExtensions.InvokeAsync.cs (13)
13
/// Extension methods for <see cref="
HubConnection
"/>.
25
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, CancellationToken cancellationToken = default)
39
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, CancellationToken cancellationToken = default)
54
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, CancellationToken cancellationToken = default)
70
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
87
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
105
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
124
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
144
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
165
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
187
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
210
public static Task InvokeAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken = default)
223
public static Task InvokeCoreAsync(this
HubConnection
hubConnection, string methodName, object?[] args, CancellationToken cancellationToken = default)
HubConnectionExtensions.InvokeAsyncGeneric.cs (13)
13
/// Extension methods for <see cref="
HubConnection
"/>.
29
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, CancellationToken cancellationToken = default)
47
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, CancellationToken cancellationToken = default)
66
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, CancellationToken cancellationToken = default)
86
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
107
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
129
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
152
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
176
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
201
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
227
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
254
public static Task<TResult> InvokeAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken = default)
271
public static async Task<TResult> InvokeCoreAsync<TResult>(this
HubConnection
hubConnection, string methodName, object?[] args, CancellationToken cancellationToken = default)
HubConnectionExtensions.OnResult.cs (21)
14
/// Extension methods for <see cref="
HubConnection
"/>.
18
private static IDisposable On<TResult>(this
HubConnection
hubConnection, string methodName, Type[] parameterTypes, Func<object?[], TResult> handler)
37
public static IDisposable On<TResult>(this
HubConnection
hubConnection, string methodName, Type[] parameterTypes, Func<object?[], Task<TResult>> handler)
55
public static IDisposable On<TResult>(this
HubConnection
hubConnection, string methodName, Func<Task<TResult>> handler)
71
public static IDisposable On<TResult>(this
HubConnection
hubConnection, string methodName, Func<TResult> handler)
88
public static IDisposable On<T1, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, TResult> handler)
108
public static IDisposable On<T1, T2, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, TResult> handler)
129
public static IDisposable On<T1, T2, T3, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, TResult> handler)
151
public static IDisposable On<T1, T2, T3, T4, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, TResult> handler)
174
public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, TResult> handler)
198
public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, TResult> handler)
223
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, TResult> handler)
249
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> handler)
268
public static IDisposable On<T1, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, Task<TResult>> handler)
288
public static IDisposable On<T1, T2, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, Task<TResult>> handler)
309
public static IDisposable On<T1, T2, T3, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, Task<TResult>> handler)
331
public static IDisposable On<T1, T2, T3, T4, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, Task<TResult>> handler)
354
public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task<TResult>> handler)
378
public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task<TResult>> handler)
403
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>> handler)
429
public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this
HubConnection
hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>> handler)
HubConnectionExtensions.SendAsync.cs (12)
12
/// Extension methods for <see cref="
HubConnection
"/>.
25
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, CancellationToken cancellationToken = default)
40
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, CancellationToken cancellationToken = default)
56
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, CancellationToken cancellationToken = default)
73
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
91
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
110
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
130
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
151
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
173
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
196
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
220
public static Task SendAsync(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken = default)
HubConnectionExtensions.StreamAsChannelAsync.cs (13)
14
/// Extension methods for <see cref="
HubConnection
"/>.
30
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, CancellationToken cancellationToken = default)
48
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, CancellationToken cancellationToken = default)
67
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, CancellationToken cancellationToken = default)
87
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
108
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
130
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
153
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
177
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
202
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
228
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
255
public static Task<ChannelReader<TResult>> StreamAsChannelAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken = default)
272
public static async Task<ChannelReader<TResult>> StreamAsChannelCoreAsync<TResult>(this
HubConnection
hubConnection, string methodName, object?[] args, CancellationToken cancellationToken = default)
HubConnectionExtensions.StreamAsync.cs (12)
12
/// Extension methods for <see cref="
HubConnection
"/>.
27
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, CancellationToken cancellationToken = default)
44
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, CancellationToken cancellationToken = default)
62
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, CancellationToken cancellationToken = default)
81
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
101
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
122
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
144
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
167
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
191
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
216
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
242
public static IAsyncEnumerable<TResult> StreamAsync<TResult>(this
HubConnection
hubConnection, string methodName, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken = default)
HubConnectionOptions.cs (6)
13
/// Configures options for the <see cref="
HubConnection
" />.
18
/// Configures ServerTimeout for the <see cref="
HubConnection
" />.
20
public TimeSpan ServerTimeout { get; set; } =
HubConnection
.DefaultServerTimeout;
23
/// Configures KeepAliveInterval for the <see cref="
HubConnection
" />.
25
public TimeSpan KeepAliveInterval { get; set; } =
HubConnection
.DefaultKeepAliveInterval;
31
public long StatefulReconnectBufferSize { get; set; } =
HubConnection
.DefaultStatefulReconnectBufferSize;
HubConnectionState.cs (1)
7
/// Describes the current state of the <see cref="
HubConnection
"/> to the server.
IHubConnectionBuilder.cs (4)
7
/// A builder abstraction for configuring <see cref="
HubConnection
"/> instances.
12
/// Creates a <see cref="
HubConnection
"/>.
15
/// A <see cref="
HubConnection
"/> built using the configured options.
17
HubConnection
Build();
Internal\InvocationRequest.cs (6)
25
public
HubConnection
HubConnection { get; }
28
protected InvocationRequest(CancellationToken cancellationToken, Type resultType, string invocationId, ILogger logger,
HubConnection
hubConnection, Activity? activity)
48
public static InvocationRequest Invoke(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory,
HubConnection
hubConnection, Activity? activity, out Task<object?> result)
56
ILoggerFactory loggerFactory,
HubConnection
hubConnection, Activity? activity, out ChannelReader<object?> result)
83
public Streaming(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory,
HubConnection
hubConnection, Activity? activity)
171
public NonStreaming(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory,
HubConnection
hubConnection, Activity? activity)