29 lines
1.4 KiB
C#
29 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides the base interface for implementation of proxy access for the <see cref="T:System.Net.WebRequest" /> class.</summary>
|
|
// Token: 0x02000244 RID: 580
|
|
public interface IWebProxy
|
|
{
|
|
/// <summary>The credentials to submit to the proxy server for authentication.</summary>
|
|
/// <returns>An <see cref="T:System.Net.ICredentials" /> instance that contains the credentials that are needed to authenticate a request to the proxy server.</returns>
|
|
// Token: 0x170006C8 RID: 1736
|
|
// (get) Token: 0x060014BC RID: 5308
|
|
// (set) Token: 0x060014BD RID: 5309
|
|
ICredentials Credentials { get; set; }
|
|
|
|
/// <summary>Returns the URI of a proxy.</summary>
|
|
/// <returns>A <see cref="T:System.Uri" /> instance that contains the URI of the proxy used to contact <paramref name="destination" />.</returns>
|
|
/// <param name="destination">A <see cref="T:System.Uri" /> that specifies the requested Internet resource. </param>
|
|
// Token: 0x060014BE RID: 5310
|
|
global::System.Uri GetProxy(global::System.Uri destination);
|
|
|
|
/// <summary>Indicates that the proxy should not be used for the specified host.</summary>
|
|
/// <returns>true if the proxy server should not be used for <paramref name="host" />; otherwise, false.</returns>
|
|
/// <param name="host">The <see cref="T:System.Uri" /> of the host to check for proxy use. </param>
|
|
// Token: 0x060014BF RID: 5311
|
|
bool IsBypassed(global::System.Uri host);
|
|
}
|
|
}
|