more webshlocket
This commit is contained in:
parent
f2e995dcc0
commit
a54a201b97
|
@ -188,6 +188,8 @@ module Landline
|
|||
def _process_events(next_frame)
|
||||
loop do
|
||||
frame = next_frame.call
|
||||
return nil unless frame
|
||||
|
||||
case frame.type
|
||||
when :binary, :text, :pong then return frame
|
||||
when :ping
|
||||
|
|
Loading…
Reference in New Issue