Module Linol_lwt__.Jsonrpc2
module IO : Linol.IO with type 'a t = 'a Linol_lwt.Task.m and type in_channel = Lwt_io.input Lwt_io.channel and type out_channel = Lwt_io.output Lwt_io.channelinclude module type of sig ... end
class virtual base_server : object ... endclass notify_back : notify_back:(Lsp.Server_notification.t -> unit IO.t) -> ?version:int -> uri:Lsp.Types.DocumentUri.t -> unit -> object ... endtype doc_state= Linol.Make(IO).doc_state={uri : Lsp.Types.DocumentUri.t;languageId : string;version : int;content : string;}
class virtual server : object ... endval create : ic:IO.in_channel -> oc:IO.out_channel -> server -> tCreate a connection from the pair of channels
val create_stdio : server -> tval run : t -> unit Linol_lwt.Task.t -> unit Linol_lwt.Task.mListen for incoming messages and responses