UNPKG

@atomist/automation-client

Version:

Atomist API for software low-level client

23 lines (16 loc) 473 B
import * as WebSocket from "ws"; import { RequestProcessor } from "../RequestProcessor"; export interface WebSocketRequestProcessor extends RequestProcessor { onRegistration(registration: RegistrationConfirmation); onConnect(ws: WebSocket); onDisconnect(); } export interface RegistrationConfirmation { url: string; /** * @deprecated use the apiKey from configuration instead */ jwt: string; name: string; version: string; }