heyuntao
2023-05-05 cc09b6fe6ffac34a4eeeb26d313b187713cae0de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace com.alibaba.openapi.client.policy
{
    public class ClientPolicy
    {
        private string serverHost = "gw.open.1688.com";
 
        public string ServerHost
        {
            get { return serverHost; }
            set { serverHost = value; }
        }
        private int httpPort = 80;
 
        public int HttpPort
        {
            get { return httpPort; }
            set { httpPort = value; }
        }
        private int httpsPort = 443;
 
        public int HttpsPort
        {
            get { return httpsPort; }
            set { httpsPort = value; }
        }
        private string appKey;
 
        public string AppKey
        {
            get { return appKey; }
            set { appKey = value; }
        }
        private string secretKey;
 
        public string SecretKey
        {
            get { return secretKey; }
            set { secretKey = value; }
        }
        private int defaultTimeout = 5000;
 
        public int DefaultTimeout
        {
            get { return defaultTimeout; }
            set { defaultTimeout = value; }
        }
        private string defaultContentCharset = "UTF-8";
 
        public string DefaultContentCharset
        {
            get { return defaultContentCharset; }
            set { defaultContentCharset = value; }
        }
        private bool defaultUseHttps = true;
 
        public bool DefaultUseHttps
        {
            get { return defaultUseHttps; }
            set { defaultUseHttps = value; }
        }
 
 
    }
}