UNPKG

angular2-actioncable

Version:

Simple and flexible integration for ActionCable and Angular applications

13 lines (12 loc) 349 B
import { Cable } from './cable'; export declare class ActionCableService { private cables; /** * Open a new ActionCable connection to the url. Any number of connections can be created. */ cable(url: string, params?: any): Cable; /** * Close an open connection for the url. */ disconnect(url: string): void; }