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

main.wisp.client.EnvoyClientEndpointProvider.kt Maven / Gradle / Ivy

There is a newer version: 2024.12.12.153725-b454031
Show newest version
package wisp.client

import java.io.File

/**
 * Envoy configuration provider per endpoint that wisp clients can customize to their needs.
 */
interface EnvoyClientEndpointProvider {
    /** Host header that will be used to route the request. */
    fun url(httpClientEnvoyConfig: HttpClientEnvoyConfig): String

    /** Unix socket file to be used to communicate to the local Envoy sidecar. */
    fun unixSocket(httpClientEnvoyConfig: HttpClientEnvoyConfig): File
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy