UNPKG

ngx-restful-client

Version:

The ultimate Angular library to exquisitely declare and implement the REST APIs you'll use in your application.

18 lines (17 loc) 584 B
import { HttpHeaders, HttpParams } from '@angular/common/http'; /** * Define a estrutura necessária para trabalhar com a implementação do HttpClient do Angular. * Os atributos <strong>responseType</strong> e <strong>observes</strong> foram suprimidos pois a proposta prevê sua * utilização de forma mais natural. * */ export interface HttpOptions { headers?: HttpHeaders | { [header: string]: string | string[]; }; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; withCredentials?: boolean; }