Ƭ HttpClientInitOpts: object
Defined in httpClient/types.ts:10
-
baseHeaders? : Record‹string, string›
-
baseOptions? : Omit‹RequestInit, "headers"›
-
baseUrl: string
-
json? : undefined | false | true
Ƭ RequestInterceptor: function
Defined in httpClient/types.ts:3
▸ (url
: string, request
: RequestInit): void | Promise‹void›
Parameters:
Name | Type |
---|---|
url |
string |
request |
RequestInit |
Ƭ ResponseTransformer: function
Defined in httpClient/types.ts:8
▸ (res
: Response): any
Parameters:
Name | Type |
---|---|
res |
Response |
▸ identityResponseTransformer(response
: Response‹›): Response‹›
Defined in httpClient/identityResponseTransformer.ts:3
Parameters:
Name | Type |
---|---|
response |
Response‹› |
Returns: Response‹›
▸ jsonResponseTransformer(response
: Response‹›): Promise‹any›
Defined in httpClient/jsonResponseTransformer.ts:3
Parameters:
Name | Type |
---|---|
response |
Response‹› |
Returns: Promise‹any›