Skip to content

Commit 3de317c

Browse files
committed
Documentation.
1 parent 159a08b commit 3de317c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/protocol/http2/continuation_frame.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ class ContinuationFrame < Frame
123123

124124
TYPE = 0x9
125125

126+
# Read the frame and any continuation frames from the stream.
127+
# @parameter stream [IO] The stream to read from.
128+
# @parameter maximum_frame_size [Integer] Maximum allowed frame size.
129+
# @parameter limit [Integer] The maximum number of continuation frames to read.
126130
def read(stream, maximum_frame_size, limit = 8)
127131
super
128132
end

0 commit comments

Comments
 (0)