BaseRequestOptionslink
Subclass of RequestOptions
, with default values.
弃用说明
说明
Default values:
- method: RequestMethod.Get
- headers: empty
Headers
object
This class could be extended and bound to the RequestOptions
class when configuring an Injector
, in order to override the default options used by Http
to create and send Requests.
The options could also be extended when manually creating a Request
object.