Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/NetworkHelper/get

get

abstract fun get(url: String, etag: String? = null, additionalHeaders: Map<String, String>? = null, completion: NetworkCallback<NetworkResult>): Disposable
abstract fun get(url: URL, etag: String? = null, additionalHeaders: Map<String, String>? = null, completion: NetworkCallback<NetworkResult>): Disposable

Asynchronously fetches the given url. An optional etag can be supplied if the resource being requested is already available on the device and may be able to be re-used.

Parameters

url

The Url to GET

etag

Optional etag of the currently known resource

additionalHeaders

Optional map of additional headers to add to the request

Generated by Dokka
(c) Tealium 2026