UNPKG

pusher-js

Version:

Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers

19 lines (15 loc) 421 B
import AbstractRuntime from '../../runtimes/interface'; import { AuthRequestType, InternalAuthOptions } from './options'; interface AuthTransport { ( context: AbstractRuntime, query: string, authOptions: InternalAuthOptions, authRequestType: AuthRequestType, callback: Function ): void; } interface AuthTransports { [index: string]: AuthTransport; } export { AuthTransport, AuthTransports };