Method: Protocol::HTTP2::Stream#exclusive_child

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

#exclusive_child(stream) ⇒ Object



161
162
163
164
165
166
167
168
169
170
171
# File 'lib/protocol/http2/stream.rb', line 161

def exclusive_child(stream)
	stream.children = @children
	
	@children.each_value do |child|
		child.dependent_id = stream.id
	end
	
	@children = {stream.id => stream}
	
	stream.dependent_id = @id
end