Skip to content

Commit

Permalink
Updated a doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsidianMinor committed Feb 10, 2018
1 parent bb77389 commit ba07ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ All authentication falls under the method `AuthenticateAsync`. Depending on the
In the event you get a 401 (unauthorized) status code, by default the client will try to refresh the access token before retrying the request. If the refresh token is somehow null or invalid (by leaving the program running doing nothing for 6 months) or implicit browser authentication was used, the access token will not be refreshed and the request will fail. If you want to refresh the access token yourself, you can by calling `await RefreshTokenAsync()`. If you want to save the refresh token for later, you can use the property GfycatClient.RefreshToken to get the current refresh token. To reuse the token again, run `await RefreshTokenAsync(refreshToken)` using the saved token.

#### Feeds
Feeds in Gfycat.Net allow enumeration through large collections of items in batches. They are all defined by the interface IFeed<T> where T is the type of item in the feed. This can be a Gfy or another feed. IFeed<T> inherits IAsyncEnumerable<T> which means you can use LINQ on whole
Feeds in Gfycat.Net allow enumeration through large collections of items in batches. They are all defined by the interface IFeed<T> where T is the type of item in the feed. This can be a Gfy or another feed. IFeed<T> inherits IAsyncEnumerable<T> which means you can use LINQ on whole feeds of gfys.

0 comments on commit ba07ba0

Please sign in to comment.