Sends an RPC call to the Lean server.
Optionaloptions: ClientRequestOptionsCreates an RPC session for the given URI and returns the session ID. The implementation of RpcServerIface takes care to send any required keepalive notifications.
Sends an RPC reference release notification to the server.
Abstraction of the functionality needed to establish RPC sessions in the Lean server and to make RPC calls. See the Lean module
Lean.Server.Rpc.Basic.This interface can be implemented both in the infoview (relaying LSP messages from the webview to the extension), as well as in the extension itself (directly sending LSP messages via the
vscode-languageserver-nodelibrary (TODO)).