UKHSA-Internal / coronavirus-dashboard-api-net-sdk

Coronavirus (COVID-19) in the UK - API Service SDK for .Net
https://coronavirus.data.gov.uk/
MIT License
12 stars 4 forks source link

Make LastUpdate method more efficient #33

Open orang3-juic3 opened 3 years ago

orang3-juic3 commented 3 years ago

In the LastUpdate function the response headers were iterated over twice. Iterating only once and catching the exception is more efficient.