pub fn with_param<T: Into<String>, U: Into<String>>(mut self, key: T, value: U) -> Request {
        let key = key.into();
        #[cfg(feature = "urlencoding")]
        let key = urlencoding::encode(&key);
        let value = value.into();
        #[cfg(feature = "urlencoding")]
        let value = urlencoding::encode(&value);

        if !self.params.is_empty() {
            self.params.push('&');
        }
        self.params.push_str(&key);
        self.params.push('=');
        self.params.push_str(&value);
        self
    }
/// Adds given key and value as query parameter to request url
/// (resource).
///
/// If `urlencoding` is not enabled, it is the responsibility
/// of the user to ensure there are no illegal characters in the
/// key or value.
///
/// If `urlencoding` is enabled, the key and value are both encoded.
Adds given key and value as query parameter to request url
(resource).

If `urlencoding` is not enabled, it is the responsibility
of the user to ensure there are no illegal characters in the
key or value.

If `urlencoding` is enabled, the key and value are both encoded.
Adds given key and value as query parameter to request url ( resource ) . If ` urlencoding ` is not enabled it is the responsibility of the user to ensure there are no illegal characters in the key or value . If ` urlencoding ` is enabled the key and value are both encoded .
pub fn with_param<T: Into<String>, U: Into<String>>(mut self, key: T, value: U) -> Request {
        let key = key.into();
        #[cfg(feature = "urlencoding")]
        let key = urlencoding::encode(&key);
        let value = value.into();
        #[cfg(feature = "urlencoding")]
        let value = urlencoding::encode(&value);
        if !self.params.is_empty() {
            self.params.push('&');
        }
        self.params.push_str(&key);
        self.params.push('=');
        self.params.push_str(&value);
        self
    }
pub fn with_param < T : Into < String > , U : Into < String > > ( mut self , key : T , value : U ) -> Request { let key = key . into ( ) ; # [ cfg ( feature " " ) ] let key = urlencoding :: encode ( & key ) ; let value = value . into ( ) ; # [ cfg ( feature " " ) ] let value = urlencoding :: encode ( & value ) ; if ! self . params . is_empty ( ) { self . params . push ( '&' ) ; } self . params . push_str ( & key ) ; self . params . push ( '=' ) ; self . params . push_str ( & value ) ; self }
Adds given key and value as query parameter to request url
(resource).
Adds given key and value as query parameter to request url ( resource ) .
mut self
key
T
value
U
mut self
key
T
value
U