node-network-devtools
Version:
Inspecting Node.js's Network with Chrome DevTools
24 lines (23 loc) • 589 B
TypeScript
import { IncomingMessage } from 'http';
import { CDPCallFrame } from '../../../common';
export interface WebSocketFrameSent {
requestId: string;
response: {
payloadData: string;
opcode: number;
mask: boolean;
};
}
export interface WebSocketCreated {
requestId: string;
url: string;
initiator: {
type: string;
stack: {
callFrames: CDPCallFrame[];
};
};
response: IncomingMessage;
}
export declare const websocketPlugin: import('../common').PluginInstance<void>;
//# sourceMappingURL=index.d.ts.map