package grpc

  1. Overview
  2. Docs

Module Grpc.MessageSource

Sourceval make : string -> string

make s encodes a string as a gRPC message.

Sourceval extract : Buffer.t -> string option

extract b attempts to extract a gRPC message from b.

Sourceval extract_all : (string -> unit) -> Buffer.t -> unit

extract_all f b extracts and calls f on all gRPC messages from b.

OCaml

Innovation. Community. Security.