Exemplo n.º 1
0
        public HttpUtil(string Endereco, HttpVerbos httpVerbo = HttpVerbos.POST, AutenticacaoRest.IAutenticacaoRest autenticacaoRest = null)
        {
            this.httpVerbo        = httpVerbo;
            this.Endereco         = Endereco;
            this.AutenticacaoRest = autenticacaoRest;

            Cabecalhos = new Dictionary <string, string>();
        }
Exemplo n.º 2
0
 public HttpUtil(AutenticacaoRest.IAutenticacaoRest autenticacaoRest)
     : this(string.Empty, HttpVerbos.POST, autenticacaoRest)
 {
 }