package dune-rpc

  1. Overview
  2. Docs
Communicate with dune using rpc

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dune-3.20.1.tbz
sha256=f08e95de2828e891d68906e4430b5117032285207b5bc684fc5d45652eb30e0a
sha512=a45eb69c773396285f3785a1c2edb4644e376c02053ff23cbc39dd2244c9e99527bdaed34b10ad8a0f50a143ce22777a76a0cd19f3a2d313cea9560986fa6bb9

doc/dune-rpc.private/Dune_rpc_private/Versioned/Make/Handler/index.html

Module Make.HandlerSource

Sourcetype 'state t
Sourceval handle_request : 'state t -> 'state -> Request.t -> Response.t Fiber.t
Sourceval handle_notification : 'state t -> 'state -> Call.t -> (unit, Response.Error.t) Stdune.result Fiber.t
Sourceval prepare_request : 'a t -> ('req, 'resp) Decl.Request.witness -> (('req, 'resp) Staged.request, Version_error.t) Stdune.result
Sourceval prepare_notification : 'a t -> 'payload Decl.Notification.witness -> ('payload Staged.notification, Version_error.t) Stdune.result
OCaml

Innovation. Community. Security.