Optional
accessOptional
extraOptional
fetchOptional
idOptional
localOptional
loggerOptional logger instance. If provided, requests and responses will be logged.
Optional
onlyNormally, methods in FetchHttpApi
will return a Response object.
If this is set to true
, they instead return the response body.
Optional
refreshUsed in conjunction with tokenRefreshFunction to attempt token refresh
Optional
tokenFunction to attempt token refresh when a possibly expired token is encountered Optional, only called when a refreshToken is present
Optional
use
Options object for
FetchHttpApi
and MatrixHttpApi.