Skip to content

Commit

Permalink
opened hook was never used, let's remove it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 24, 2024
1 parent fb07f77 commit 09f86b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/protocol/http2/stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,13 @@ def send_data(*arguments, **options)
end
end

# The stream has been opened.
def opened(error = nil)
end

def open!
if @state == :idle
@state = :open
else
raise ProtocolError, "Cannot open stream in state: #{@state}"
end

self.opened

return self
end

Expand Down

0 comments on commit 09f86b6

Please sign in to comment.