package linol-lwt

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Linol_lwt.Jsonrpc2Source

Sourcetype t

A jsonrpc2 connection.

include sig ... end
Sourcemodule Position = Lsp.Types.Position
Sourcemodule Range = Lsp.Types.Range
Sourceclass virtual base_server : object ... end
Sourceclass notify_back : notify_back:(Lsp.Server_notification.t -> unit IO.t) -> ?version:int -> uri:Lsp.Types.DocumentUri.t -> unit -> object ... end
Sourcetype doc_state = Linol.Make(IO).doc_state = {
  1. uri : Lsp.Types.DocumentUri.t;
  2. languageId : string;
  3. version : int;
  4. content : string;
}
Sourceclass virtual server : object ... end
Sourceval create : ic:IO.in_channel -> oc:IO.out_channel -> server -> t

Create a connection from the pair of channels

Sourceval create_stdio : server -> t
Sourceval run : t -> unit Task.t -> unit Task.m

Listen for incoming messages and responses