mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* WebRequest.cs: added * WebResponse.cs: implemented * WebException.cs: implemented * WebHeaderCollection.cs: added * HttpVersion.cs: implemented * HttpContinueDelegate.cs: added * IWebProxy.cs: added * IWebRequestCreate.cs: added * ICertificatePolicy.cs: added * ServicePoint.cs: stubbed * ServicePointManager.cs: stubbed * CookieContainer.cs: added * Authorization.cs: implemented svn path=/trunk/mcs/; revision=4315
93 lines
1.8 KiB
C#
93 lines
1.8 KiB
C#
//
|
|
// System.Net.ServicePoint
|
|
//
|
|
// Author:
|
|
// Lawrence Pit ([email protected])
|
|
//
|
|
|
|
using System;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
|
namespace System.Net
|
|
{
|
|
public class ServicePoint
|
|
{
|
|
private Uri uri;
|
|
private int connectionLimit;
|
|
private int maxIdleTime;
|
|
|
|
// Constructors
|
|
internal ServicePoint (Uri uri, int connectionLimit, int maxIdleTime)
|
|
{
|
|
this.uri = uri;
|
|
this.connectionLimit = connectionLimit;
|
|
this.maxIdleTime = maxIdleTime;
|
|
}
|
|
|
|
|
|
// Properties
|
|
|
|
public Uri Address {
|
|
get { return this.uri; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public X509Certificate Certificate {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public X509Certificate ClientCertificate {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int ConnectionLimit {
|
|
get { return connectionLimit; }
|
|
set {
|
|
if (value <= 0)
|
|
throw new ArgumentOutOfRangeException ();
|
|
connectionLimit = value;
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public string ConnectionName {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int CurrentConnections {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public DateTime IdleSince {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public int MaxIdleTime {
|
|
get { return maxIdleTime; }
|
|
set { this.maxIdleTime = value; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual Version ProtocolVersion {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public bool SupportsPipelining {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
// Methods
|
|
|
|
[MonoTODO]
|
|
public override int GetHashCode()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
} |