Skip to content

wesleyegberto/csharp-rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# Rest Client

Simple REST client builder around HttpClient to C#.

Usage

 await HttpClientBuilder.Create("my.api.com")
    .Path("entities").Path(myEntityId)
    .Query("v", 1)
    .QueryDate("from", DateTime.Now)
    .Header("x-track", "token-123")
    .AsyncGet()
    .GetEntity<MyEntity>();

Releases

No releases published

Packages

No packages published

Languages