Client

interface Client

Override this interface to provide a custom Network client for the Nimbus SDK.

Inheritors

Functions

Link copied to clipboard
open fun handleError(statusCode: Int, exception: Exception?, listener: NimbusError.Listener)

Handle the error from Nimbus.

Link copied to clipboard

Handles the BidResponse from Nimbus and creates a NimbusResponse

Link copied to clipboard
abstract fun <T : NimbusResponse.Listener, NimbusError.Listener> request(request: NimbusRequest, callback: T)

Handle a network request

Link copied to clipboard

Returns a map of required headers needed to make a request