Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sisco0/DotnetFetch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotnetFetch

  • Simple .NET implementation of JavaScript fetch API.
  • Package is on Nuget.
  • Following (partially) the MDN specifications.

Installation

> Install-Package DotnetFetch

Usage

using DotnetFetch;

var result = await GlobalFetch.Fetch("https://jsonplaceholder.typicode.com/todos/1");

Console.WriteLine(result.Text());
using DotnetFetch;

var result = await GlobalFetch.Fetch<string>("https://jsonplaceholder.typicode.com/todos/1");

Console.WriteLine(result);

About

🌎 Simple .NET implementation of JavaScript fetch API

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%