pub fn with_config(config: Config) -> Self {
        Decoder {
            builder: ResponseBuilder::new(),
            config,
            content_length: ContentLength::default(),
            state: DecodeState::Version,
        }
    }
/// Constructs a new response decoder using the given configuration.
Constructs a new response decoder using the given configuration.
Constructs a new response decoder using the given configuration .
pub fn with_config(config: Config) -> Self {
        Decoder {
            builder: ResponseBuilder::new(),
            config,
            content_length: ContentLength::default(),
            state: DecodeState::Version,
        }
    }
pub fn with_config ( config : Config ) -> Self { Decoder { builder : ResponseBuilder :: new ( ) , config , content_length : ContentLength :: default ( ) , state : DecodeState :: Version , } }
Constructs a new response decoder using the given configuration.
Constructs a new response decoder using the given configuration .
config
Config
config
Config