Documentation

Lean.Server.Requests

structure Lean.Server.RequestError :
Type
def Lean.Server.parseRequestParams (paramType : Type) [inst : Lean.FromJson paramType] (params : Lean.Json) :
Equations
@[inline]
abbrev Lean.Server.RequestTask (α : Type u_1) :
Type u_1
Equations
Equations
def Lean.Server.RequestM.mapTask {α : Type u_1} {β : Type} (t : Task α) (f : αLean.Server.RequestM β) :
Equations
def Lean.Server.registerLspRequestHandler (method : String) (paramType : Type) [inst : Lean.FromJson paramType] [inst : Lean.Lsp.FileSource paramType] (respType : Type) [inst : Lean.ToJson respType] (handler : paramTypeLean.Server.RequestM (Lean.Server.RequestTask respType)) :
Equations
def Lean.Server.chainLspRequestHandler (method : String) (paramType : Type) [inst : Lean.FromJson paramType] (respType : Type) [inst : Lean.FromJson respType] [inst : Lean.ToJson respType] (handler : paramTypeLean.Server.RequestTask respTypeLean.Server.RequestM (Lean.Server.RequestTask respType)) :
Equations
Equations