HTTP (S) POST / GET request by TcpClient [C #]

I am new to C #. How can I create a http (s) post, get a request on the server with TcpClient. I do not use the HttpWebRequest class. Any good example? Thanks you

But I will use SOCKS proxies, for example TOR. I need this library starksoft.com/prod_proxy.html and this library works with TcpClient.

+3
source share
1 answer

You will want to use the httpWebRequest class, because for this it is, it has methods for directly handling this type of request.

+1
source

Source: https://habr.com/ru/post/1770149/


All Articles