Package-level declarations

Types

Link copied to clipboard
interface Evidently
Link copied to clipboard
abstract class EvidentlyAction<ResponseBody : Any>(clazz: KClass<ResponseBody>, autoMarshalling: AutoMarshalling = EvidentlyMoshi, method: Method = Method.POST, val dataPlane: Boolean = false) : Action<Result<ResponseBody, RemoteFailure>>
Link copied to clipboard
@KotshiJsonAdapterFactory
object EvidentlyJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard

Functions

Link copied to clipboard
fun Evidently.Companion.Http(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): Evidently

Convenience function to create a client from a System environment

fun Evidently.Companion.Http(env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): Evidently

Convenience function to create a client from an http4k Environment

fun Evidently.Companion.Http(region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), overrideEndpoint: Uri? = null): Evidently

Standard HTTP implementation