protocol-websocket 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protocol/websocket/connection.rb +2 -2
- data/lib/protocol/websocket/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8bf2310f6790fd3ef67e6cba31deaaddef39b22cdf15bf096517a40674219af
|
4
|
+
data.tar.gz: 312c0efd58d690ef13820df939547e0235d95a259764e801459754157346ac81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ffe5e445d96fe2df800b34f98d02e23b1d2ff3ad46ea5544700a4b2e4f1d0732854b6e1b439e02534cba00ce518aeec775807d844c72f022c712afc93a9887e
|
7
|
+
data.tar.gz: 1527c379937343b7229fe36fcafcf69ec69b5dfc6311dfd7a579fa2ceb7d531ce65c696bc16161cf622d0b573a3593d088a7501abf29bf3458f8fb20a7d78722
|
@@ -142,10 +142,10 @@ module Protocol
|
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
145
|
-
def send_ping(data =
|
145
|
+
def send_ping(data = "")
|
146
146
|
if @state != :closed
|
147
147
|
frame = PingFrame.new(mask: @mask)
|
148
|
-
frame.pack(data)
|
148
|
+
frame.pack(data)
|
149
149
|
|
150
150
|
write_frame(frame)
|
151
151
|
else
|