mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* WebConnection.cs: close the socket and connection when disposing. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors when creating instances. * HttpWebRequest.cs: * HttpWebResponse.cs: * FileWebRequest.cs: support serialization. * FileWebResponse.cs: support serialization and fixed dispose checks. * FileWebRequestCreator.cs: * HttpRequestCreator.cs: added internal .ctor. svn path=/trunk/mcs/; revision=15644
25 lines
364 B
C#
25 lines
364 B
C#
//
|
|
// System.Net.FileWebRequestCreator
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2003 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
|
|
namespace System.Net
|
|
{
|
|
class FileWebRequestCreator : IWebRequestCreate
|
|
{
|
|
internal FileWebRequestCreator ()
|
|
{
|
|
}
|
|
|
|
public WebRequest Create (Uri uri)
|
|
{
|
|
return new FileWebRequest (uri);
|
|
}
|
|
}
|
|
}
|
|
|