Jsonp

export class Jsonp

exported from angular2/http defined in angular2/src/http/http.ts (line 169)

Annotations

@Injectable()

Constructor

constructor(backend: ConnectionBackend, defaultOptions: RequestOptions)

Not Yet Documented

Members

request(url: string | Request, options?: RequestOptionsArgs) : Observable<Response>

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.