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

build

fun build(): HttpRequest

Constructs the HttpRequest using the parameters given to the builder.

If the provided URL is invalid/malformed, then an exception will be thrown at this point to fail early.

Gzip and etag headers are also added at this point, so will overwrite any matching headers set on the builder via the header method

Return

the validated HttpRequest

Generated by Dokka
(c) Tealium 2026