main.wisp.client.EnvoyClientEndpointProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wisp-client Show documentation
Show all versions of wisp-client Show documentation
HTTP client with config and envoy support, built on okhttp
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