%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Net/HTTPResponse/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Net/HTTPResponse/read_body-i.ri

U:RDoc::AnyMethod[iI"read_body:EFI" Net::HTTPResponse#read_body;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"=Gets the entity body returned by the remote HTTP server.;To:RDoc::Markup::BlankLineo;
;	[I"?If a block is given, the body is passed to the block, and ;TI"Ithe body is provided in fragments, as it is read in from the socket.;T@o;
;	[I"BCalling this method a second or subsequent time for the same ;TI"<HTTPResponse object will return the value already read.;T@o:RDoc::Markup::Verbatim;	[I",http.request_get('/index.html') {|res|
;TI"  puts res.read_body
;TI"}
;TI"
;TI",http.request_get('/index.html') {|res|
;TI"/  p res.read_body.object_id   # 538149362
;TI"/  p res.read_body.object_id   # 538149362
;TI"}
;TI"
;TI"# using iterator
;TI",http.request_get('/index.html') {|res|
;TI""  res.read_body do |segment|
;TI"    print segment
;TI"  end
;TI"};T:@format0:
@fileI"lib/net/http/response.rb;T:0@omit_headings_from_table_of_contents_below000[I"(dest = nil, &block);T@(FI"HTTPResponse;TcRDoc::NormalClass00

Zerion Mini Shell 1.0