package coq-lsp

  1. Overview
  2. Docs

Module Base.MessageSource

Basic JSON-RPC Incoming Messages

Sourcetype t =
  1. | Notification of {
    1. method_ : string;
    2. params : (string * Yojson.Safe.t) list;
    }
  2. | Request of {
    1. id : int;
    2. method_ : string;
    3. params : (string * Yojson.Safe.t) list;
    }
Sourceval from_yojson : Yojson.Safe.t -> (t, string) Result.t

Reify an incoming message

Sourceval method_ : t -> string
Sourceval params : t -> (string * Yojson.Safe.t) list
OCaml

Innovation. Community. Security.