UNPKG

@reactivemarkets/switchboard-sdk

Version:
19 lines (18 loc) 627 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.testRequest = void 0; const testRequestBuilder_1 = require("./testRequestBuilder"); /** * The Test Request message forces a Heartbeat message from the opposing * application. The Test Request message may be sent by either the taker or * smaker. * * The opposite application responds to the Test Request message with a * Heartbeat message containing the request id. * * ```ts * const bytes = testRequest().build(); * ``` */ const testRequest = () => new testRequestBuilder_1.TestRequestBuilder(); exports.testRequest = testRequest;