@ssv/signalr-client
Version:
SignalR client library built on top of @microsoft/signalr. This gives you more features and easier to use.
12 lines (11 loc) • 402 B
TypeScript
import { HubConnectionOptions } from "./hub-connection.model";
import { HubConnection } from "./hub-connection";
export declare class HubConnectionFactory {
private source;
private hubConnections;
create(...connectionOptions: HubConnectionOptions[]): this;
get<THub>(key: string): HubConnection<THub>;
remove(key: string): void;
connectAll(): void;
disconnectAll(): void;
}