vscode-languageserver-protocol
Advanced tools
Comparing version 3.2.0-next.2 to 3.2.0-next.3
@@ -1,3 +0,4 @@ | ||
import { ErrorCodes, ResponseError, CancellationToken, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, MessageReader, MessageWriter, Logger, ConnectionStrategy, StreamMessageReader, StreamMessageWriter, IPCMessageReader, IPCMessageWriter, createClientPipeTransport, createServerPipeTransport, generateRandomPipeName } from 'vscode-jsonrpc'; | ||
export { ErrorCodes, ResponseError, CancellationToken, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, MessageReader, MessageWriter, Logger, ConnectionStrategy, StreamMessageReader, StreamMessageWriter, IPCMessageReader, IPCMessageWriter, createClientPipeTransport, createServerPipeTransport, generateRandomPipeName }; | ||
import { ErrorCodes, ResponseError, CancellationToken, CancellationTokenSource, Disposable, Event, Emitter, Trace, SetTraceNotification, LogTraceNotification, Message, NotificationMessage, RequestMessage, MessageType as RPCMessageType, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, StarRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, StarNotificationHandler, MessageReader, MessageWriter, Logger, ConnectionStrategy, StreamMessageReader, StreamMessageWriter, IPCMessageReader, IPCMessageWriter, createClientPipeTransport, createServerPipeTransport, generateRandomPipeName, DataCallback, Tracer } from 'vscode-jsonrpc'; | ||
export { ErrorCodes, ResponseError, CancellationToken, CancellationTokenSource, Disposable, Event, Emitter, Trace, SetTraceNotification, LogTraceNotification, Message, NotificationMessage, RequestMessage, RPCMessageType, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, StarRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, StarNotificationHandler, MessageReader, MessageWriter, Logger, ConnectionStrategy, StreamMessageReader, StreamMessageWriter, IPCMessageReader, IPCMessageWriter, createClientPipeTransport, createServerPipeTransport, generateRandomPipeName, DataCallback, Tracer }; | ||
export * from 'vscode-languageserver-types'; | ||
export * from './protocol'; | ||
@@ -109,3 +110,32 @@ export * from './protocol.configuration.proposed'; | ||
onNotification(method: string, handler: GenericNotificationHandler): void; | ||
/** | ||
* Enables tracing mode for the connection. | ||
*/ | ||
trace(value: Trace, tracer: Tracer, sendNotification?: boolean): void; | ||
/** | ||
* An event emitter firing when an error occurs on the connection. | ||
*/ | ||
onError: Event<[Error, Message | undefined, number | undefined]>; | ||
/** | ||
* An event emitter firing when the connection got closed. | ||
*/ | ||
onClose: Event<void>; | ||
/** | ||
* An event emiiter firing when the connection receives a notification that is not | ||
* handled. | ||
*/ | ||
onUnhandledNotification: Event<NotificationMessage>; | ||
/** | ||
* An event emitter firing when the connection got disposed. | ||
*/ | ||
onDispose: Event<void>; | ||
/** | ||
* Actively disposes the connection. | ||
*/ | ||
dispose(): void; | ||
/** | ||
* Turns the connection into listening mode | ||
*/ | ||
listen(): void; | ||
} | ||
export declare function createProtocolConnection(reader: MessageReader, writer: MessageWriter, logger: Logger, strategy?: ConnectionStrategy): ProtocolConnetion; |
@@ -14,2 +14,9 @@ /* -------------------------------------------------------------------------------------------- | ||
exports.CancellationToken = vscode_jsonrpc_1.CancellationToken; | ||
exports.CancellationTokenSource = vscode_jsonrpc_1.CancellationTokenSource; | ||
exports.Disposable = vscode_jsonrpc_1.Disposable; | ||
exports.Event = vscode_jsonrpc_1.Event; | ||
exports.Emitter = vscode_jsonrpc_1.Emitter; | ||
exports.Trace = vscode_jsonrpc_1.Trace; | ||
exports.SetTraceNotification = vscode_jsonrpc_1.SetTraceNotification; | ||
exports.LogTraceNotification = vscode_jsonrpc_1.LogTraceNotification; | ||
exports.RequestType = vscode_jsonrpc_1.RequestType; | ||
@@ -27,2 +34,3 @@ exports.RequestType0 = vscode_jsonrpc_1.RequestType0; | ||
exports.generateRandomPipeName = vscode_jsonrpc_1.generateRandomPipeName; | ||
__export(require("vscode-languageserver-types")); | ||
__export(require("./protocol")); | ||
@@ -29,0 +37,0 @@ __export(require("./protocol.configuration.proposed")); |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.2.0-next.2", | ||
"version": "3.2.0-next.3", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85854
2217