package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type clientInfo = {
  1. name : string;
  2. version : string option;
}
val create_clientInfo : name:string -> ?version:string -> unit -> clientInfo
type t = {
  1. workDoneToken : ProgressToken.t option;
  2. processId : Integer.t option;
  3. clientInfo : clientInfo option;
  4. locale : string option;
  5. rootPath : string option option;
  6. rootUri : DocumentUri.t option;
  7. initializationOptions : Import.Json.t option;
  8. capabilities : ClientCapabilities.t;
  9. trace : TraceValue.t option;
  10. workspaceFolders : WorkspaceFolder.t list option option;
}
val create : ?workDoneToken:ProgressToken.t -> ?processId:Integer.t -> ?clientInfo:clientInfo -> ?locale:string -> ?rootPath:string option -> ?rootUri:DocumentUri.t -> ?initializationOptions:Import.Json.t -> capabilities:ClientCapabilities.t -> ?trace:TraceValue.t -> ?workspaceFolders:WorkspaceFolder.t list option -> unit -> t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.