Esempio n. 1
0
    public Request(NetworkSO network)
    {
        Network      = network;
        rootHeaders  = network.rootHeaders;
        rootEndpoint = network.rootEndpoint;

        if (rootEndpoint.EndsWith("/"))
        {
            rootEndpoint = rootEndpoint.Substring(0, rootEndpoint.Length - 1);
        }
        if (rootHeaders == null)
        {
            rootHeaders = new Dictionary <string, string>();
        }
    }
Esempio n. 2
0
 public RequestPost(NetworkSO network, T1 data) : base(network)
 {
     this.data = data;
 }
 public RequestDelete(NetworkSO network) : base(network)
 {
 }
Esempio n. 4
0
 public RequestGet(NetworkSO network) : base(network)
 {
 }