synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
27 lines (26 loc) • 540 B
JavaScript
import o from "./JsonRxMessage.js";
const d = 1;
class i extends o {
requestId;
methodName;
payload;
constructor(e, s, t) {
super(d), this.requestId = e, this.methodName = s, this.payload = t;
}
setRequestId(e) {
this.requestId = e;
}
getJson() {
const e = [
this.typeCode,
this.requestId,
this.methodName
];
return this.payload !== void 0 && e.push(this.payload), e;
}
}
export {
d as REQUEST_COMPLETE_TYPE_CODE,
i as default
};
//# sourceMappingURL=JsonRxRequestComplete.js.map