--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a Message instance of general request.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "method:"
    body: HTTP method String.
  - !ruby/struct:SM::Flow::LI 
    label: "uri:"
    body: an URI object which represents an URL of web resource.
  - !ruby/struct:SM::Flow::LI 
    label: "query:"
    body: a Hash or an Array of query part of URL. e.g. { &quot;a&quot; =&gt; &quot;b&quot; } =&gt; 'http://host/part?a=b' Give an array to pass multiple value like
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "[\"a\", \"b\"], [\"a\", \"c\"]"
      body: =&gt; 'http://host/part?a=b&amp;a=c'
    type: :LABELED
  - !ruby/struct:SM::Flow::LI 
    label: "body:"
    body: a Hash or an Array of body part. e.g. { &quot;a&quot; =&gt; &quot;b&quot; } =&gt; 'a=b'. Give an array to pass multiple value like
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "[\"a\", \"b\"], [\"a\", \"c\"]"
      body: =&gt; 'a=b&amp;a=c'.
    type: :LABELED
  - !ruby/struct:SM::Flow::LI 
    label: "boundary:"
    body: When the boundary given, it is sent as a multipart/form-data using this boundary String.
  type: :NOTE
full_name: HTTP::Message::new_request
is_singleton: true
name: new_request
params: (method, uri, query = nil, body = nil, boundary = nil)
visibility: public
