# HttpOptions (/docs/rest/api/interfaces/HttpOptions)



[@kysoql/rest](/docs/rest/api) / HttpOptions

REST request options plus an injectable fetch implementation.

## Extends [#extends]

* [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions)

## Extended by [#extended-by]

* [`RestClientOptions`](/docs/rest/api/interfaces/RestClientOptions)
* [`ClientCredentialsOptions`](/docs/rest/api/interfaces/ClientCredentialsOptions)
* [`RefreshTokenOptions`](/docs/rest/api/interfaces/RefreshTokenOptions)

## Properties [#properties]

| Property                                       | Modifier   | Type                                         | Description                                                                           | Inherited from                                                                                                                                          |
| ---------------------------------------------- | ---------- | -------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="api-property-fetch" /> `fetch?`         | `readonly` | (`input`, `init?`) => `Promise`\<`Response`> | Native fetch by default. An injected implementation must honour signal and redirect.  | -                                                                                                                                                       |
| <a id="api-property-signal" /> `signal?`       | `readonly` | `AbortSignal`                                | Combines with the client's signal; cancelling one operation does not cancel others.   | [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions).[`signal`](/docs/rest/api/interfaces/RestRequestOptions#api-property-signal)       |
| <a id="api-property-timeoutms" /> `timeoutMs?` | `readonly` | `number`                                     | Per HTTP request, including token acquisition and response body. Default: 30 seconds. | [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions).[`timeoutMs`](/docs/rest/api/interfaces/RestRequestOptions#api-property-timeoutms) |
