1.0.4 • Published 2 years ago

@dap-js/client v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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?"