Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
TinyPngClient no longer inherits IDisposable
  • Loading branch information
ZivClinch authored Feb 23, 2021
1 parent 4c8aa3e commit c52bdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ the extension methods now operate on `Task<T>`.

```csharp
// create an instance of the TinyPngClient
using var png = new TinyPngClient("yourSecretApiKey");
var png = new TinyPngClient("yourSecretApiKey");

// Create a task to compress an image.
// this gives you the information about your image as stored by TinyPNG
Expand Down

0 comments on commit c52bdda

Please sign in to comment.