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

get

@JvmStatic
fun get(destination: String, etag: String? = null): HttpRequest.Builder
@JvmStatic
fun get(destination: URL, etag: String? = null): HttpRequest.Builder

Utility method for building a simple GET request.

Parameters

destination

the url to GET

etag

optional etag allowing the server to efficiently return the appropriate response if the data requested hasn't changed.

Generated by Dokka
(c) Tealium 2026