Skip to content

How to use vless+ws+tls to proxy #234

Answered by Frogley
GrowingHacker asked this question in Q&A
Discussion options

You must be logged in to vote

I guess your requirement is to use a V2Ray proxy within HttpClientHandler. The easiest way is to run a V2Ray client locally, which will provide a local HTTP proxy, and then just use this HTTP proxy directly. If you want to connect to the V2Ray server directly in HttpClientHandler without using the local HTTP proxy, it's a challenging task, because the HttpClientHandler class is mainly used for handling HTTP proxies, while the V2Ray is not a standard HTTP proxy. Although it is theoretically possible, it requires a certain degree of modification or inheritance of the HttpClientHandler class, as well as an in-depth understanding of the V2Ray communication protocol.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GrowingHacker
Comment options

Answer selected by GrowingHacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants