You can search for identifiers within the package.
in-package search v0.2.0
grpc-eio
Server.Service
type t
t represents a gRPC service with potentially multiple rpcs and the information needed to route to them.
t
val v : unit -> t
v () creates a new service
v ()
val add_rpc : name:string -> rpc:Rpc.t -> t -> t
add_rpc ~name ~rpc t adds rpc to t and ensures that t can route to it with name.
add_rpc ~name ~rpc t
rpc
name
val handle_request : t -> H2.Reqd.t -> unit
handle_request t reqd handles routing reqd to the correct rpc if available in t.
handle_request t reqd
reqd