Module Protocol_message.Type

type t =
| Request
| Response
| Event
| Custom of string

Message type.

include JSONABLE with type t := t
type t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val to_yojson : t -> Yojson.Safe.t