method

readpartial

ruby latest stable - Class: WEBrick::HTTPRequest

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

readpartial(size, buf = ''.b)
public

for IO.copy_stream. Note: we may return a larger string than size here; but IO.copy_stream does not care.