/// <summary> /// Makes a HTTP GET request to the given URL and stores the returned resource. /// </summary> /// <param name="hal">The instance of <see cref="IHalClient"/> to extend.</param> /// <param name="href">The URI to request.</param> /// <returns>The updated <see cref="IHalClient"/>.</returns> public static Task<IHalClient> RootAsync(this IHalClient hal, string href) => hal.RootAsync(href);
/// <summary> /// Makes a HTTP GET request to the default URI and stores the returned resource. /// </summary> /// <param name="hal">The instance of <see cref="IHalClient"/> to extend.</param> /// <returns>The updated <see cref="IHalClient"/>.</returns> public static Task<IHalClient> RootAsync(this IHalClient hal) => hal.RootAsync(string.Empty);