Experimental Class
Class Overview
class Jsonp { constructor(backend: ConnectionBackend, defaultOptions: RequestOptions) request(url: string|Request, options?: RequestOptionsArgs) : Observable<Response> }
Class Description
Annotations
@Injectable()
Constructor
constructor(backend: ConnectionBackend, defaultOptions: RequestOptions)
Class Details
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.
exported from @angular/http/index, defined in @angular/http/src/http.ts
Please login to continue.