{
internal const string EXCEPTION_MESSAGE = "System.Net.HttpWebRequest is not supported on the current platform.";
- internal WebConnection WebConnection {
- get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- }
-
#if MOBILE
public
#else
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
- internal HttpWebRequest (Uri uri, object /* IMonoTlsProvider */ tlsProvider, object /* MonoTlsSettings */ settings = null)
+ internal HttpWebRequest (Uri uri, object /* MonoTlsProvider */ tlsProvider, object /* MonoTlsSettings */ settings = null)
{
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
}
- public bool AllowAutoRedirect {
+ public virtual bool AllowAutoRedirect {
get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
}
- public bool AllowWriteStreamBuffering {
+ public virtual bool AllowWriteStreamBuffering {
get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
}
get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
}
- internal Mono.Net.Security.IMonoTlsProvider TlsProvider {
- get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- }
-
- internal Mono.Security.Interface.MonoTlsSettings TlsSettings {
- get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- }
-
public X509CertificateCollection ClientCertificates {
get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
+ public System.IO.Stream GetRequestStream (out TransportContext context)
+ {
+ throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+ }
+
public override IAsyncResult BeginGetResponse (AsyncCallback callback, object state)
{
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
{
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
}
-
- internal void SetWriteStream (WebConnectionStream stream)
- {
- throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
- }
-
- internal void SetResponseData (WebConnectionData data)
- {
- throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
- }
-
- internal void SetResponseError (WebExceptionStatus status, Exception e, string where)
- {
- throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
- }
-
- internal bool ReuseConnection {
- get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- }
-
- internal WebConnection StoredConnection {
- get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
- }
}
}