Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.32 KB

Extreme.Net

beta

NuGet version Build status

Extreme.Net beta - provides Http(s), Socks4a, Socks4, Socks5, Chain proxy for .Net framework's HttpClient class

Extreme.Net it's a fork of xNet

Installation

Install via NuGet

PM > Install-Package Extreme.Net

Examples

    var socksProxy = new Socks5ProxyClient("127.0.0.1", 3128);

    var handler = new ProxyHandler(socksProxy);
    var client = new HttpClient(handler);

    var request = new HttpRequestMessage();
	request.Method = HttpMethod.Post;

    var parameters = new Dictionary<string, string> { { "param1", "1" }, { "param2", "2" } };
    var encodedContent = new FormUrlEncodedContent(parameters);

    var response = await client.PostAsync("http://httpbin.org/post", encodedContent);
    var content  = await response.Content.ReadAsStringAsync();

#Developer

Artem Dontsov

VK VK

YouTube YouTube