Skip to content

Commit

Permalink
feat(DEV-Info): Info/help for creating the proxy server of issue Lamb…
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyESP committed Nov 17, 2023
1 parent 1c4f948 commit 2b3e3a5
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import io.ktor.client.engine.cio.CIO
import kotlinx.serialization.json.Json

object Ktor {
val client = HttpClient(CIO) {
val client = HttpClient(CIO.create {
//Here goes all the Engine config
//TODO: Add proxy support
// proxy = ProxyConfig(
// type = Proxy.Type.SOCKS,
// sa = java.net.InetSocketAddress(3030)
// )
}) {
//In case of adding plugins, add them here
}

Expand Down

0 comments on commit 2b3e3a5

Please sign in to comment.