8000 GitHub - sisco0/DotnetFetch: 🌎 Simple .NET implementation of JavaScript fetch API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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"
52A1
);

Console.WriteLine(result);

About

🌎 Simple .NET implementation of JavaScript fetch API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%
0