Method: HTTP::Protocol::HTTP2::Stream#close!

Defined in:
lib/http/protocol/http2/stream.rb

#close!(state = :closed) ⇒ Object



210
211
212
213
214
# File 'lib/http/protocol/http2/stream.rb', line 210

def close!(state = :closed)
	@state = state
	
	@connection.streams.delete(@id)
end