namespace Microsoft.AspNetCore.SignalR {
public static class ClientProxyExtensions {
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, object arg5, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, object arg4, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object arg1, object arg2, object arg3, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, CancellationToken cancellationToken);
+ public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, CancellationToken cancellationToken);
}
public class DefaultHubLifetimeManager<THub> : HubLifetimeManager<THub> where THub : Hub {
+ public override Task<T> InvokeConnectionAsync<T>(string connectionId, string methodName, object?[] args, CancellationToken cancellationToken);
+ public override Task SetConnectionResultAsync(string connectionId, CompletionMessage result);
+ public override bool TryGetReturnType(string invocationId, out Type? type);
}
public abstract class HubLifetimeManager<THub> where THub : Hub {
+ public virtual Task<T> InvokeConnectionAsync<T>(string connectionId, string methodName, object?[] args, CancellationToken cancellationToken);
+ public virtual Task SetConnectionResultAsync(string connectionId, CompletionMessage result);
+ public virtual bool TryGetReturnType(string invocationId, out Type? type);
}
public class HubOptions {
+ public bool DisableImplicitFromServicesParameters { get; set; }
}
public interface IHubCallerClients : IHubCallerClients<IClientProxy>, IHubClients<IClientProxy> {
+ new ISingleClientProxy Caller { get; }
+ new ISingleClientProxy Client(string connectionId);
}
public interface IHubClients : IHubClients<IClientProxy> {
+ new ISingleClientProxy Client(string connectionId);
}
public interface IInvocationBinder {
+ string? GetTarget(ReadOnlySpan<byte> utf8Bytes);
}
+ public interface ISingleClientProxy : IClientProxy {
+ Task<T> InvokeCoreAsync<T>(string method, object?[] args, CancellationToken cancellationToken);
+ }
}