HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/URI/HTTP/build-c.ri
U:RDoc::AnyMethod[iI"
build:ETI"URI::HTTP::build;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"Description;To:RDoc::Markup::BlankLineo:RDoc::Markup::Paragraph;	[I"JCreates a new URI::HTTP object from components, with syntax checking.;T@
o;;	[I"HThe components accepted are userinfo, host, port, path, query, and ;TI"fragment.;T@
o;;	[I"HThe components should be provided either as an Array, or as a Hash ;TI"Dwith keys formed by preceding the component names with a colon.;T@
o;;	[I"?If an Array is used, the components must be passed in the ;TI"Forder <code>[userinfo, host, port, path, query, fragment]</code>.;T@
o;;	[I"
Example:;T@
o:RDoc::Markup::Verbatim;	[	I"Furi = URI::HTTP.build(host: 'www.example.com', path: '/foo/bar')
;TI"
;TI"Buri = URI::HTTP.build([nil, "www.example.com", nil, "/path",
;TI"  "query", 'fragment'])
;T:@format0o;;	[I"DCurrently, if passed userinfo components this method generates ;TI"'invalid HTTP URIs as per RFC 1738.;T:
@fileI"lib/uri/http.rb;T:0@omit_headings_from_table_of_contents_below000[I"(args);T@*TI"	HTTP;TcRDoc::NormalClass00