refactor(Http): rename request options interface

This commit is contained in:
Jeff Cross
2015-06-13 19:48:40 -07:00
parent 70ffd267f8
commit e68e69e7e5
5 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import {
import {Headers} from './headers';
import {URLSearchParams} from './url_search_params';
export interface RequestOptions {
export interface IRequestOptions {
method?: RequestMethods;
headers?: Headers;
body?: URLSearchParams | FormData | Blob | string;
@@ -60,4 +60,4 @@ export interface Connection {
// Prefixed as IHttp because used in conjunction with Http class, but interface is callable
// constructor(@Inject(Http) http:IHttp)
export interface IHttp { (url: string, options?: RequestOptions): Rx.Observable<Response> }
export interface IHttp { (url: string, options?: IRequestOptions): Rx.Observable<Response> }