Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Curl HttpClient (LowLevel)

  • This library will be an alternative to System.Net.Http.HttpClient. This is the low level library that interacts with Curl via CurlThin.
  • Originaly started because of some things curl would do that newer dotnet would not.

Examples

GET

  • Basic GET Request looks like this
    var http = new nac.CurlHttpClient.http();
    var result = http.get("http://httpbin.org/ip");
  • It can also look like this
    var http = new nac.CurlHttpClient.http("http://httpbin.org/ip");
    var result = http.get();

POST

  • Basic Post FormPost method
    var http = new nac.CurlHttpClient.http();
    var result = http.post("http://httpbin.org/post",
        requestBody: "fieldname1=fieldvalue1&fieldname2=fieldvalue2");

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages