diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-09-17 13:00:19 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-09-17 13:00:19 +0100 |
commit | 3989ff2ddcbccde2719e19cc4af9e223ba1e26b6 (patch) | |
tree | 0cc36195172ad452d82ebea5a72239c02af7535c /plugins/mod_websocket.lua | |
parent | 095c4f83449c75acddc54198842e3d2f2ab2cc40 (diff) | |
download | prosody-3989ff2ddcbccde2719e19cc4af9e223ba1e26b6.tar.gz prosody-3989ff2ddcbccde2719e19cc4af9e223ba1e26b6.zip |
net.websocket.frames: Allow all methods to work on non-string objects
Instead of using the string library, use methods from the passed object,
which are assumed to be equivalent.
This provides compatibility with objects from util.ringbuffer and
util.dbuffer, for example.
Diffstat (limited to 'plugins/mod_websocket.lua')
0 files changed, 0 insertions, 0 deletions