146 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			146 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| p.location-badge.
 | |
|   exported from <a href='../http'>angular2/http</a>
 | |
|   defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.36/modules/angular2/src/http/base_request_options.ts#L6-L72">angular2/src/http/base_request_options.ts (line 6)</a>
 | |
| 
 | |
| :markdown
 | |
|   The http module provides services to perform http requests. To get started, see the <a href='Http-class.html'><code>Http</code></a>
 | |
|   class.
 | |
| .l-main-section
 | |
|   h2 Members
 | |
|   .l-sub-section
 | |
|     h3 constructor
 | |
| 
 | |
|     
 | |
|     pre.prettyprint
 | |
|       code.
 | |
|         constructor({method, headers, body, mode, credentials, cache, url, search}?:
 | |
|                           RequestOptionsArgs)
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 method
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       Http method with which to execute the request.
 | |
|       
 | |
|       Defaults to "GET".
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 headers
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       Headers object based on the `Headers` class in the [Fetch
 | |
|       Spec](https://fetch.spec.whatwg.org/#headers-class).
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 body
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       Body to be used when creating the request.
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 mode
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 credentials
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 cache
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 url
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 search
 | |
| 
 | |
|     
 | |
|     :markdown
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   .l-sub-section
 | |
|     h3 merge
 | |
| 
 | |
|     
 | |
|     pre.prettyprint
 | |
|       code.
 | |
|         merge(options?: RequestOptionsArgs)
 | |
|     
 | |
|     :markdown
 | |
|       Creates a copy of the `RequestOptions` instance, using the optional input as values to override
 | |
|       existing values.
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 |