Skip to content

NathanielACollier/dotnetLib_nac.CurlHttpClient.LowLevel

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

Watchers

Forks

Releases

No releases published

Packages

No packages published