Skip to main content

Class: ConfigService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ConfigService(_debug, _trpc)

Parameters

NameType
_debugDebugService
_trpcTrpcService

Properties

_debug

Private _debug: DebugService


_keyPrefix

Private _keyPrefix: string = "client"


_trpc

Private _trpc: TrpcService

Methods

authenticate

authenticate(key): void

Parameters

NameType
keystring

Returns

void


setBaseUrl

setBaseUrl(baseUrl): void

Parameters

NameType
baseUrlstring

Returns

void


setFetchAdapter

setFetchAdapter(fetchAdapter): void

Parameters

NameType
fetchAdapterFetchEsque

Returns

void