uci-socket/test/sockets/tcp-app.mjs

7 lines
135 B
JavaScript

export default {
processPacket: async function (packet) {
packet.payload = this.port +':'+packet.payload
return packet
}
}