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