- wrapper (sessionId : UInt64) : Json → RequestM (RequestTask Json)
Instances For
Checks whether a builtin RPC procedure exists with the given name.
Equations
Instances For
Equations
Instances For
def
Lean.Server.wrapRpcProcedure
(method : Name)
(paramType respType : Type)
[RpcEncodable paramType]
[RpcEncodable respType]
(handler : paramType → RequestM (RequestTask respType))
:
Equations
Instances For
def
Lean.Server.registerBuiltinRpcProcedure
(method : Name)
(paramType respType : Type)
[RpcEncodable paramType]
[RpcEncodable respType]
(handler : paramType → RequestM (RequestTask respType))
: