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
commit8a24ec9653c09224a5e2d011e61067ddb11c1fe0 (patch)
tree0cc36195172ad452d82ebea5a72239c02af7535c /util/helpers.lua
parent0b1193317bc4288577567e1c1b0edb90c5457381 (diff)
downloadprosody-8a24ec9653c09224a5e2d011e61067ddb11c1fe0.tar.gz
prosody-8a24ec9653c09224a5e2d011e61067ddb11c1fe0.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