first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/// <reference types="node" />
import * as ee from 'events';
import { DebugProtocol } from 'vscode-debugprotocol';
export declare class ProtocolServer extends ee.EventEmitter {
private static TWO_CRLF;
private _rawData;
private _contentLength;
private _sequence;
private _writableStream;
private _pendingRequests;
constructor();
start(inStream: NodeJS.ReadableStream, outStream: NodeJS.WritableStream): void;
stop(): void;
sendEvent(event: DebugProtocol.Event): void;
sendResponse(response: DebugProtocol.Response): void;
sendRequest(command: string, args: any, timeout: number, cb: (response: DebugProtocol.Response) => void): void;
protected dispatchRequest(request: DebugProtocol.Request): void;
private _emitEvent(event);
private _send(typ, message);
private _handleData(data);
}