aboutsummaryrefslogtreecommitdiffstats
path: root/util/helpers.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-09-17 13:00:19 +0100
committerMatthew Wild <mwild1@gmail.com>2020-09-17 13:00:19 +0100
commit3989ff2ddcbccde2719e19cc4af9e223ba1e26b6 (patch)
tree0cc36195172ad452d82ebea5a72239c02af7535c /util/helpers.lua
parent095c4f83449c75acddc54198842e3d2f2ab2cc40 (diff)
downloadprosody-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 'util/helpers.lua')
0 files changed, 0 insertions, 0 deletions