Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 48 additions & 47 deletions src/IXmlRpcProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,98 +25,99 @@ DEALINGS IN THE SOFTWARE.

using System;
using System.ComponentModel;
using System.Collections;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace CookComputing.XmlRpc
{
public interface IXmlRpcProxy
{
bool AllowAutoRedirect { get; set; }
public interface IXmlRpcProxy
{
bool AllowAutoRedirect { get; set; }

void AttachLogger(XmlRpcLogger logger);
void AttachLogger(XmlRpcLogger logger);

#if (!COMPACT_FRAMEWORK && !SILVERLIGHT && !SILVERLIGHT)
X509CertificateCollection ClientCertificates { get; }
X509CertificateCollection ClientCertificates { get; }
#endif

#if (!COMPACT_FRAMEWORK && !SILVERLIGHT)
string ConnectionGroupName { get; set; }
string ConnectionGroupName { get; set; }
#endif

CookieContainer CookieContainer { get; }
CookieContainer CookieContainer { get; }

[Browsable(false)]
ICredentials Credentials { get; set; }
[Browsable(false)]
ICredentials Credentials { get; set; }

#if (!COMPACT_FRAMEWORK && !FX1_0 && !SILVERLIGHT)
bool EnableCompression { get; set;}
bool EnableCompression { get; set; }

bool Expect100Continue { get; set; }
bool Expect100Continue { get; set; }

bool UseNagleAlgorithm { get; set; }
bool UseNagleAlgorithm { get; set; }
#endif

[Browsable(false)]
WebHeaderCollection Headers { get; }
[Browsable(false)]
WebHeaderCollection Headers { get; }

Guid Id { get; }
Guid Id { get; }

int Indentation { get; set; }
int Indentation { get; set; }

bool KeepAlive { get; set; }
bool KeepAlive { get; set; }

XmlRpcNonStandard NonStandard { get; set; }
XmlRpcNonStandard NonStandard { get; set; }

bool PreAuthenticate { get; set; }
bool PreAuthenticate { get; set; }

#if (!SILVERLIGHT)
[Browsable(false)]
System.Version ProtocolVersion { get; set; }
[Browsable(false)]
System.Version ProtocolVersion { get; set; }
#endif

#if (!SILVERLIGHT)
[Browsable(false)]
IWebProxy Proxy { get; set; }
[Browsable(false)]
IWebProxy Proxy { get; set; }
#endif

[Browsable(false)]
CookieCollection ResponseCookies { get; }
[Browsable(false)]
CookieCollection ResponseCookies { get; }

[Browsable(false)]
WebHeaderCollection ResponseHeaders { get; }
[Browsable(false)]
WebHeaderCollection ResponseHeaders { get; }

int Timeout { get; set; }
int Timeout { get; set; }

string Url { get; set; }
string Url { get; set; }

bool UseEmptyElementTags { get; set; }
bool UseEmptyElementTags { get; set; }

bool UseEmptyParamsTag { get; set; }
bool UseEmptyParamsTag { get; set; }

bool UseIndentation { get; set; }
bool UseIndentation { get; set; }

bool UseIntTag { get; set; }
bool UseIntTag { get; set; }

bool UseStringTag { get; set; }
bool UseStringTag { get; set; }

string UserAgent { get; set; }
string UserAgent { get; set; }

[Browsable(false)]
Encoding XmlEncoding { get; set; }
[Browsable(false)]
Encoding XmlEncoding { get; set; }

string XmlRpcMethod { get; set; }
string XmlRpcMethod { get; set; }

// introspecton methods
string[] SystemListMethods();
object[] SystemMethodSignature(string MethodName);
string SystemMethodHelp(string MethodName);
string DateTimeFormat { get; set; }

// events
event XmlRpcRequestEventHandler RequestEvent;
event XmlRpcResponseEventHandler ResponseEvent;
// introspecton methods
string[] SystemListMethods();
object[] SystemMethodSignature(string MethodName);
string SystemMethodHelp(string MethodName);

}
// events
event XmlRpcRequestEventHandler RequestEvent;
event XmlRpcResponseEventHandler ResponseEvent;

}
}
Loading