ILanguageClientMiddleLayer2<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
HandleRequestAsync(String, T, Func<T,Task<T>>) |
Intercepts JSON-RPC request calls for |