export class BaseResponseOptions
export class BaseResponseOptions
exported from angular2/http defined in angular2/src/http/base_response_options.ts (line 102)
Subclass of ResponseOptions, with default values.
Default values:
- status: 200
- headers: empty Headersobject
This class could be extended and bound to the ResponseOptions class
when configuring an Injector, in order to override the default options
used by Http to create Responses.
Example (live demo)
The options could also be extended when manually creating a Response
object.
Example (live demo)
Annotations
@Injectable()
@Injectable()
Constructor
constructor()
constructor()Not Yet Documented