The DefaultClient role is to perform the API key management
functionalities of the client. It retrieves an API token using the
API key and ensures it stays valid throughout the lifecycle of the
client, refreshing the token when necessary.
It also responsible of keep and up-to-date list of streams and managing
the re-connection to those stream when the websocket disconnects.
It is supported to override the client to provide some other
methods on it (other EOS endpoints).
The standard implementation of a DfuseClient.
The DefaultClient role is to perform the API key management functionalities of the client. It retrieves an API token using the API key and ensures it stays valid throughout the lifecycle of the client, refreshing the token when necessary.
It also responsible of keep and up-to-date list of streams and managing the re-connection to those stream when the websocket disconnects.
It is supported to override the client to provide some other methods on it (other EOS endpoints).