Exemple #1
0
        public void SendEvent(string command, IDAPMessagePayload body)
        {
            var reply = new DAPEvent
            {
                type   = "event",
                @event = command,
                body   = body
            };

            Send(reply);
        }
Exemple #2
0
        public void SendReply(DAPRequest request, IDAPMessagePayload response)
        {
            var reply = new DAPResponse
            {
                type        = "response",
                request_seq = request.seq,
                success     = true,
                command     = request.command,
                body        = response
            };

            Send(reply);
        }