package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'id t = {
  1. id : 'id;
  2. method_ : string;
  3. params : Import.Json.t option;
}
val params : _ t -> (Import.Json.t -> 'a) -> ('a, string) Import.Result.t
val create : ?params:Import.Json.t -> id:'id -> method_:string -> unit -> 'id t
type request = Id.t t
type notification = unit t
type either = Id.t option t
val either_of_yojson : Import.Json.t -> either
val yojson_of_notification : notification -> Import.Json.t
val yojson_of_request : request -> Import.Json.t
OCaml

Innovation. Community. Security.