config

fun MonitoringConfigFactory<Remote.Config>.config(endpointUrl: String, okHttpClient: OkHttpClient? = null, coroutineScope: CoroutineScope? = null): Remote.Config

Creates a new Config instance for the MonitoringConfigFactory.

Return

A new Config instance with the specified configuration.

Parameters

endpointUrl

The URL of the endpoint responsible for receiving monitoring messages.

okHttpClient

The OkHttpClient instance used for transmitting events to the endpoint.

coroutineScope

The CoroutineScope which manages the coroutine responsible for sending monitoring messages.