public MethodHttp(TypeHttpMethod typeHttpMethod) { this.LabelMethod = typeHttpMethod.ToString(); this.ValueMathod = typeHttpMethod; }
public string PostFormat(string url, string data, TypeHttpMethod method) { if (Headers) { return(string.Format("client.NotGet(\"{0}\",{1},\"{2}\",whc);", url, data, method.ToString())); } else { return(string.Format("client.NotGet(\"{0}\",{1},\"{2}\");", url, data, method.ToString())); } }