source: xmlrpcnet/trunk/fuentes/src/IXmlRpcProxy.cs @ 379

Last change on this file since 379 was 379, checked in by hectorgh, 5 years ago

adding project files

File size: 3.1 KB
Line 
1/*
2XML-RPC.NET library
3Copyright (c) 2001-2006, Charles Cook <charlescook@cookcomputing.com>
4
5Permission is hereby granted, free of charge, to any person
6obtaining a copy of this software and associated documentation
7files (the "Software"), to deal in the Software without restriction,
8including without limitation the rights to use, copy, modify, merge,
9publish, distribute, sublicense, and/or sell copies of the Software,
10and to permit persons to whom the Software is furnished to do so,
11subject to the following conditions:
12
13The above copyright notice and this permission notice shall be
14included in all copies or substantial portions of the Software.
15
16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23DEALINGS IN THE SOFTWARE.
24*/
25
26using System;
27using System.ComponentModel;
28using System.Collections;
29using System.Net;
30using System.Security.Cryptography.X509Certificates;
31using System.Text;
32
33namespace CookComputing.XmlRpc
34{
35  public interface IXmlRpcProxy
36  {
37    bool AllowAutoRedirect { get; set; }
38
39#if (!COMPACT_FRAMEWORK)
40    X509CertificateCollection ClientCertificates { get; }
41#endif
42
43#if (!COMPACT_FRAMEWORK)
44    string ConnectionGroupName { get; set; }
45#endif
46
47#if (!COMPACT_FRAMEWORK)
48    CookieContainer CookieContainer { get; }
49#endif
50
51    [Browsable(false)]
52    ICredentials Credentials { get; set; }
53
54#if (!COMPACT_FRAMEWORK && !FX1_0)
55    bool EnableCompression { get; set;}
56
57    bool Expect100Continue { get; set; }
58#endif
59
60    [Browsable(false)]
61    WebHeaderCollection Headers { get; }
62
63    Guid Id { get; }
64
65    int Indentation { get; set; }
66
67    bool KeepAlive { get; set; }
68
69    XmlRpcNonStandard NonStandard { get; set; }
70
71    bool PreAuthenticate { get; set; }
72
73    [Browsable(false)]
74    System.Version ProtocolVersion { get; set; }
75
76    [Browsable(false)]
77    IWebProxy Proxy { get; set; }
78
79#if (!COMPACT_FRAMEWORK)
80    [Browsable(false)]
81    CookieCollection ResponseCookies { get; }
82
83    [Browsable(false)]
84    WebHeaderCollection ResponseHeaders { get; }
85#endif
86
87    int Timeout { get; set; }
88
89    string Url { get; set; }
90
91    bool UseEmptyParamsTag { get; set; }
92
93    bool UseIndentation { get; set; }
94
95    bool UseIntTag { get; set; }
96
97    bool UseStringTag { get; set; }
98
99    string UserAgent { get; set; }
100
101    [Browsable(false)]
102    Encoding XmlEncoding { get; set; }
103
104    string XmlRpcMethod { get; set; }
105
106    // introspecton methods
107    string[] SystemListMethods(); 
108    object[] SystemMethodSignature(string MethodName);
109    string SystemMethodHelp(string MethodName);
110
111    // events
112    event XmlRpcRequestEventHandler RequestEvent;
113    event XmlRpcResponseEventHandler ResponseEvent;
114
115  }
116}
Note: See TracBrowser for help on using the repository browser.