Пример #1
0
        public HttpSigningMessageHandler(Signature signature, RequestSigningOptions options, HttpMessageHandler innerHandler)
            : base(innerHandler)
        {
            if (signature == null)
            {
                throw new ArgumentNullException("signature");
            }

            _signature = signature;
            _options   = options ?? new RequestSigningOptions();
        }
Пример #2
0
 public HttpSigningMessageHandler(Signature signature, RequestSigningOptions options)
     : this(signature, options, new HttpClientHandler())
 {
 }