Method: Protocol::HTTP2::Connection#send_goaway
- Defined in:
- lib/protocol/http2/connection.rb
#send_goaway(error_code = 0, message = "") ⇒ Object
141 142 143 144 145 146 147 148 |
# File 'lib/protocol/http2/connection.rb', line 141 def send_goaway(error_code = 0, = "") frame = GoawayFrame.new frame.pack @remote_stream_id, error_code, write_frame(frame) @state = :closed end |