Skip to content

dave-hillier/HttpFileRefresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HttpFileRefresh

Fetches a resource periodically and writes to a file.

Travis

Simple example:

  services.AddHttpClient("client");
  
  services.Configure<FileRefreshServiceOptions>(options => {
    options.ClientName = "client";
    options.Interval = TimeSpan.FromMinutes(60);
    options.Uri = new Uri("https://httpbin.org/get");
    options.Path = "whatever.json";
  });
  services.AddSingleton<IHostedService, FileRefreshService>();

About

Helpers for ASP.Net Core Services. Fetches a resource periodically and writes to a file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages