29 lines
1.3 KiB
C#
29 lines
1.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides the base interface for creating <see cref="T:System.Net.WebRequest" /> instances.</summary>
|
|
// Token: 0x0200022B RID: 555
|
|
[Token(Token = "0x200022B")]
|
|
public interface IWebRequestCreate
|
|
{
|
|
/// <summary>Creates a <see cref="T:System.Net.WebRequest" /> instance.</summary>
|
|
/// <param name="uri">The uniform resource identifier (URI) of the Web resource.</param>
|
|
/// <returns>A <see cref="T:System.Net.WebRequest" /> instance.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">The request scheme specified in <paramref name="uri" /> is not supported by this <see cref="T:System.Net.IWebRequestCreate" /> instance.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="uri" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.UriFormatException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.FormatException" />, instead.
|
|
///
|
|
///
|
|
///
|
|
///
|
|
/// The URI specified in <paramref name="uri" /> is not a valid URI.</exception>
|
|
// Token: 0x06000DFC RID: 3580
|
|
[Token(Token = "0x6000DFC")]
|
|
[Address(Slot = "0")]
|
|
WebRequest Create(Uri uri);
|
|
}
|
|
}
|