Skip to content

Conversation

int3debug
Copy link
Contributor

@int3debug int3debug commented Mar 31, 2025

example

import com.lagradost.cloudstream3.network.ProxyInterceptor

private val proxyInterceptor = ProxyInterceptor(
    "10.0.2.2",
    1337,
    username = "int3debug",
    password = "proxytest",
    allowFallback = false,
    dnsServer = "cloudflare" // DoH keyword, DoH URL, or IP address
)

val response = app.get("http://httpbin.org/ip", interceptor = proxyInterceptor).text

@int3debug int3debug marked this pull request as draft March 31, 2025 03:09
@phisher98
Copy link
Contributor

phisher98 commented Mar 31, 2025

Nice PR Very Helpful

@int3debug int3debug force-pushed the feature/interceptor/proxy-support branch from 3ccf778 to 37eca4f Compare April 6, 2025 19:01
@int3debug int3debug changed the title feat(proxy): add interceptor with proxy support [WIP] feat(proxy): add interceptor with proxy support Apr 14, 2025
@int3debug
Copy link
Contributor Author

int3debug commented Apr 14, 2025

@fire-light42 Do you have some suggestions for this?
Not yet 100% work with Custom DNS IP but otherwise work

@int3debug int3debug mentioned this pull request Jun 13, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants