/// <summary>
        /// See <see cref="IUrlRequestClient.GetAuthCredentials(bool, string, int, string, string, IAuthCallback)"/> for details
        /// </summary>
        /// <param name="func">function to be executed when <see cref="IUrlRequestClient.GetAuthCredentials(bool, string, int, string, string, IAuthCallback)"/>
        /// is called </param>
        /// <returns>
        /// Fluent Builder, call <see cref="UrlRequestClientBuilder.Build"/> to create
        /// a new <see cref="IUrlRequestClient"/> instance
        /// </returns>
        public UrlRequestClientBuilder GetAuthCredentials(GetAuthCredentialsDelegate func)
        {
            client.SetGetAuthCredentials(func);

            return(this);
        }
Beispiel #2
0
 internal void SetGetAuthCredentials(GetAuthCredentialsDelegate func)
 {
     getAuthCredentials = func;
 }