lucee / extension-websocket

GNU Lesser General Public License v2.1
0 stars 0 forks source link

onMessage sends empty string if no return #6

Closed webonix closed 3 months ago

webonix commented 5 months ago

it looks like onMessage() and onOpen() sends an empty string if there is no return

I have had to add

    return serializeJSON(messageReceived); // does Lucee return empty string if no return ???
michaeloffner commented 4 months ago

the extension itself return null with "onMessage" if the message is null Screenshot 2024-05-06 at 14 51 47

michaeloffner commented 4 months ago

onOpen is void anyway, so impossible to even return a value Screenshot 2024-05-06 at 14 53 35

michaeloffner commented 3 months ago

@webonix is that still an issue for you or can we close it?

webonix commented 3 months ago

@michaeloffner seems reasonable to me - I will close ticket

thank you