Method: Protocol::HTTP2::Framer#write_frame

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

#write_frame(frame) ⇒ Object



102
103
104
105
106
107
108
109
110
111
# File 'lib/protocol/http2/framer.rb', line 102

def write_frame(frame)
	# Async.logger.debug(self, name: "write") {frame.inspect}
	
	frame.write(@stream)

	# Don't call @stream.flush here because it can cause significant contention if there is a semaphore around this method.
	# @stream.flush
	
	return frame
end