Skip to content

Commit 09f86b6

Browse files
committed
opened hook was never used, let's remove it.
1 parent fb07f77 commit 09f86b6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/protocol/http2/stream.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,19 +221,13 @@ def send_data(*arguments, **options)
221221
end
222222
end
223223

224-
# The stream has been opened.
225-
def opened(error = nil)
226-
end
227-
228224
def open!
229225
if @state == :idle
230226
@state = :open
231227
else
232228
raise ProtocolError, "Cannot open stream in state: #{@state}"
233229
end
234230

235-
self.opened
236-
237231
return self
238232
end
239233

0 commit comments

Comments
 (0)