Пример #1
0
        ResponseHashConfig UpdateNew(Action <ResponseHashConfig, HttpMessageHashHandler> updater,
                                     HttpMessageHashHandler update)
        {
            var config = new ResponseHashConfig(this);

            updater(config, update);
            return(config);
        }
Пример #2
0
 ResponseHashConfig(ResponseHashConfig that) :
     this(that.Version, that.StatusCode, that.ReasonPhrase,
          that.Headers, that.Content, that.TrailingHeaders)
 {
 }