public void Initialize(HttpResponseTrailers headers)
 {
     EncodingSelector    = headers.EncodingSelector;
     _trailersEnumerator = headers.GetEnumerator();
     _headersType        = HeadersType.Trailers;
     _hasMultipleValues  = false;
 }
Beispiel #2
0
        public void Initialize(HttpResponseTrailers headers)
        {
            _headersEnumerator  = default;
            _trailersEnumerator = headers.GetEnumerator();
            _genericEnumerator  = null;
            _isTrailers         = true;

            _stringValuesEnumerator = default;
            Current = default;
        }