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

24 lines (23 loc) 475 B
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