All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gecko.GeckoUrlAssembly.kt Maven / Gradle / Ivy

Go to download

Full network logging allowing users to browse entire calls via simple urls and more.

There is a newer version: 0.0.6
Show newest version
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