Class: ConfigService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ConfigService(_debug
, _trpc
)
Parameters
Name | Type |
---|---|
_debug | DebugService |
_trpc | TrpcService |
Properties
_debug
• Private
_debug: DebugService
_keyPrefix
• Private
_keyPrefix: string
= "server"
_trpc
• Private
_trpc: TrpcService
Methods
authenticate
▸ authenticate(key
): void
Parameters
Name | Type |
---|---|
key | string |
Returns
void
setBaseUrl
▸ setBaseUrl(baseUrl
): void
Parameters
Name | Type |
---|---|
baseUrl | string |
Returns
void
setFetchAdapter
▸ setFetchAdapter(fetchAdapter
): void
Parameters
Name | Type |
---|---|
fetchAdapter | FetchEsque |
Returns
void