Skip to content

Commit

Permalink
Add note to IStreamInfo.Url that encourages to use StreamClient m…
Browse files Browse the repository at this point in the history
…ethods instead
  • Loading branch information
Tyrrrz committed Aug 11, 2023
1 parent a1eefde commit 82f7861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions YoutubeExplode/Videos/Streams/IStreamInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public interface IStreamInfo
/// <summary>
/// Stream URL.
/// </summary>
/// <remarks>
/// While this URL can be used to access the underlying stream, you need a series of carefully crafted
/// HTTP requests to properly resolve it. It's recommended to use <see cref="StreamClient.GetAsync" />
/// or <see cref="StreamClient.DownloadAsync"/> instead, as they do all the heavy lifting for you.
/// </remarks>
string Url { get; }

/// <summary>
Expand Down

0 comments on commit 82f7861

Please sign in to comment.