Module Lsp.Server_notification

type t =
  1. | PublishDiagnostics of Types.PublishDiagnosticsParams.t
  2. | ShowMessage of Types.ShowMessageParams.t
  3. | LogMessage of Types.LogMessageParams.t
  4. | LogTrace of Types.LogTraceParams.t
  5. | TelemetryNotification of Import.Json.t
  6. | CancelRequest of Jsonrpc.Id.t
  7. | WorkDoneProgress of Progress.t Types.ProgressParams.t
  8. | UnknownNotification of Jsonrpc.Notification.t
val to_jsonrpc : t -> Jsonrpc.Notification.t
val of_jsonrpc : Jsonrpc.Notification.t -> (t, string) Import.Result.t