Documentation

Lean.Server.Rpc.RequestHandling

def Lean.Server.wrapRpcProcedure (method : Lean.Name) (paramType : Type) (respType : Type) {paramLspType : Type} [inst : Lean.Server.RpcEncoding paramType paramLspType] [inst : Lean.FromJson paramLspType] {respLspType : Type} [inst : Lean.Server.RpcEncoding respType respLspType] [inst : Lean.ToJson respLspType] (handler : paramTypeLean.Server.RequestM (Lean.Server.RequestTask respType)) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Server.registerBuiltinRpcProcedure (method : Lean.Name) (paramType : Type) (respType : Type) {paramLspType : Type} [inst : Lean.Server.RpcEncoding paramType paramLspType] [inst : Lean.FromJson paramLspType] {respLspType : Type} [inst : Lean.Server.RpcEncoding respType respLspType] [inst : Lean.ToJson respLspType] (handler : paramTypeLean.Server.RequestM (Lean.Server.RequestTask respType)) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.