@atomist/automation-client
Version:
Atomist API for software low-level client
17 lines • 537 B
TypeScript
import * as WebSocket from "ws";
import { RequestProcessor } from "../RequestProcessor";
export interface WebSocketRequestProcessor extends RequestProcessor {
onRegistration(registration: RegistrationConfirmation): any;
onConnect(ws: WebSocket): any;
onDisconnect(): any;
}
export interface RegistrationConfirmation {
url: string;
/**
* @deprecated use the apiKey from configuration instead
*/
jwt: string;
name: string;
version: string;
}
//# sourceMappingURL=WebSocketRequestProcessor.d.ts.map