p.location-badge.
exported from angular2/http
defined in angular2/src/http/http.ts (line 178)
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(backend: ConnectionBackend, defaultOptions: RequestOptions)
:markdown
.l-sub-section
h3 request
pre.prettyprint
code.
request(url: string | Request, options?: IRequestOptions)
:markdown
Performs any type of http request. First argument is required, and can either be a url or
a Request
instance. If the first argument is a url, an optional RequestOptions
object can be provided as the 2nd argument. The options object will be merged with the values
of BaseRequestOptions
before performing the request.