defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.33/modules/angular2/src/http/http.ts#L32-L178">angular2/src/http/http.ts (line 32)</a>
Performs http requests using `XMLHttpRequest` as the default backend.
`Http` is available as an injectable class, with methods to perform http requests. Calling
`request` returns an <a href='../core/EventEmitter-class.html'><code>EventEmitter</code></a> which will emit a single <a href='Response-class.html'><code>Response</code></a> when a
response is received.
## Breaking Change
Previously, methods of `Http` would return an RxJS Observable directly. For now,
the `toRx()` method of <a href='../core/EventEmitter-class.html'><code>EventEmitter</code></a> needs to be called in order to get the RxJS
Subject. `EventEmitter` does not provide combinators like `map`, and has different semantics for
subscribing/observing. This is temporary; the result of all `Http` method calls will be either an
Observable
or Dart Stream when [issue #2794](https://github.com/angular/angular/issues/2794) is resolved.
#Example
```
import {Http, httpInjectables} from 'angular2/http';
Performs any type of http request. First argument is required, and can either be a url or
a <a href='Request-class.html'><code>Request</code></a> instance. If the first argument is a url, an optional <a href='RequestOptions-class.html'><code>RequestOptions</code></a>
object can be provided as the 2nd argument. The options object will be merged with the values
of <a href='BaseRequestOptions-class.html'><code>BaseRequestOptions</code></a> before performing the request.