gecko.GeckoUrlAssembly.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gecko-core Show documentation
Show all versions of gecko-core Show documentation
Full network logging allowing users to browse entire calls via simple urls and more.
package gecko
import gecko.model.NetworkMetadata
import gecko.model.Tail
import gecko.model.asString
import gecko.model.asTail
class GeckoUrlAssembly(
private val source: Gecko,
private val domain: String
) : Gecko {
override fun process(metadata: NetworkMetadata): Tail = "https://$domain/?q=%s"
.format(source.process(metadata).asString())
.asTail()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy