ILanguageClientMiddleLayer2<T> Interface

Definition

Interface representing a client which can intercept language server messages and implement custom behaviour around them.

public interface ILanguageClientMiddleLayer2<T>
type ILanguageClientMiddleLayer2<'T> = interface
Public Interface ILanguageClientMiddleLayer2(Of T)

Type Parameters

T

Supported default serialization types include: Newtonsoft.Json.Linq.JToken.

Methods

CanHandle(String)

This method is called to determine if this middle layer is capable of intercepting the given method.

HandleNotificationAsync(String, T, Func<T,Task>)

Intercepts JSON-RPC notification calls for methodName.

HandleRequestAsync(String, T, Func<T,Task<T>>)

Intercepts JSON-RPC request calls for methodName.

Applies to