Skip to content

Commit 9641665

Browse files
authored
add send_continue method.
1 parent 06c8886 commit 9641665

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/resty/websocket/server.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ end
186186
_M.send_frame = send_frame
187187

188188

189+
function _M.send_continue(self, data)
190+
return send_frame(self, true, 0x0, data)
191+
end
192+
193+
189194
function _M.send_text(self, data)
190195
return send_frame(self, true, 0x1, data)
191196
end

0 commit comments

Comments
 (0)