package dap

  1. Overview
  2. Docs
Debug adapter protocol

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dap-1.1.0.tbz
sha256=0b4cdef2ec61b98f73b686a6cb9cde8dde14404097f52a9367c55f1667441712
sha512=ba1897e3afa66b34ad65911dee0b433c48756a5c81467b6277cc2fc1f4360533af7c707744b87707afa9891886dcdb0f7fa7e1653807903f5bd2c1d36a4d92d0

doc/dap.types/Debug_protocol/Event/index.html

Module Debug_protocol.EventSource

Sourcemodule Type : sig ... end
Sourcetype t = {
  1. seq : int;
    (*

    Sequence number of the message (also known as message ID). The `seq` for the first message sent by a client or debug adapter is 1, and for each subsequent message is 1 greater than the previous message sent by that actor. `seq` can be used to order requests, responses, and events, and to associate requests with their corresponding responses. For protocol messages of type `request` the sequence number can be used to cancel the request.

    *)
  2. type_ : Type.t;
  3. event : string;
    (*

    Type of event.

    *)
  4. body : Yojson.Safe.t;
    (*

    Event-specific information.

    *)
}
Sourceval make : seq:int -> type_:Type.t -> event:string -> ?body:Yojson.Safe.t -> unit -> t
Sourceval to_yojson : t -> Yojson.Safe.t