@dap-js/client
v1.0.4
Published
Client implementation for DAP protocol
Downloads
1
Readme
@dap-js/client
NodeJS client implementation for DAP application protocol
Usage
import { sendData } from "@dap-js/server";
const result = await sendData("dap://localhost:1312", {procedureId: 42, payload: String.from("Hello, there!")});
console.log(result.resultCode); // 0
console.log(payload.toString()); // "General Kenobi?"