Module Debug_protocol.Request

module Type : sig ... end
type t = {
seq : int;

Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.

type_ : Type.t;
command : string;

The command to execute.

arguments : Yojson.Safe.t;

Object containing arguments for the command.

}
val make : seq:int -> type_:Type.t -> command:string -> ?⁠arguments:Yojson.Safe.t -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or