yieldprobe / com.yieldlab.yieldprobe.helper / NetworkRequestHelper

NetworkRequestHelper

class NetworkRequestHelper

Does the HTTP GET request to the backend. Uses EventBus to communicate back to the SDK user

Parameters

timeout - set the connection timeout in ms

Constructors

<init>

Does the HTTP GET request to the backend. Uses EventBus to communicate back to the SDK user

NetworkRequestHelper(timeout: Long)

Functions

doHttpGetRequestAsync

Does a request to the backend. Will communicate back over EventBus to the SDK user.

fun doHttpGetRequestAsync(request: NetworkRequest): Unit