Files
mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpPostClientProtocol.cs
T
Tim Coleman 63964af025 2002-07-23 Tim Coleman <[email protected]>
* HttpGetClientProtocol.cs:
        * HttpPostClientProtocol.cs
                Implemented the GetWebRequest method
        * HttpSimpleClientProtocol:
                Some implementation of the EndInvoke method
        * HttpWebClientProtocol.cs:
                Set the UserAgent string appropriately
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods
        * SoapHttpClientProtocol.cs:
                Removed unused fields
                Implemented the GetWebRequest method
        * SoapMessage.cs:
                Implemented the EnsureStage method
        * WebClientProtocol.cs:
                Added a static constructor to construct the cache
                Implemented the Abort method
                Implemented the AddToCache, GetFromCache methods
                Implemented the GetWebRequest method
                Implemented the GetWebResponse methods

svn path=/trunk/mcs/; revision=6095
2002-07-23 21:36:08 +00:00

38 lines
827 B
C#

//
// System.Web.Services.Protocols.HttpPostClientProtocol.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Net;
using System.Web.Services;
namespace System.Web.Services.Protocols {
public class HttpPostClientProtocol : HttpSimpleClientProtocol {
#region Constructors
public HttpPostClientProtocol ()
{
}
#endregion // Constructors
#region Methods
protected override WebRequest GetWebRequest (Uri uri)
{
if (null == uri)
throw new InvalidOperationException ("The uri parameter is a null reference.");
if (String.Empty == uri.ToString ())
throw new InvalidOperationException ("The uri parameter has a length of zero.");
return WebRequest.Create (uri);
}
#endregion // Methods
}
}