UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

27 lines (26 loc) 540 B
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