pub fn new<N, V>(name: N, value: V) -> CookieBuilder
    where
        N: Into<Cow<'static, str>>,
        V: Into<Cow<'static, str>>,
    {
        CookieBuilder {
            cookie: Cookie::new(name, value),
        }
    }
/// Creates a new `CookieBuilder` instance from the given name and value.
///
/// This method is typically called indirectly via
/// [Cookie::build](struct.Cookie.html#method.build).
///
/// # Example
///
/// ```rust
/// use actix_http::cookie::Cookie;
///
/// let c = Cookie::build("foo", "bar").finish();
/// assert_eq!(c.name_value(), ("foo", "bar"));
/// ```
Creates a new `CookieBuilder` instance from the given name and value.
Creates a new ` CookieBuilder ` instance from the given name and value .
pub fn new<N, V>(name: N, value: V) -> CookieBuilder
    where
        N: Into<Cow<'static, str>>,
        V: Into<Cow<'static, str>>,
    {
        CookieBuilder {
            cookie: Cookie::new(name, value),
        }
    }
pub fn new < N , V > ( name : N , value : V ) -> CookieBuilder where N : Into < Cow < ' static , str > > , V : Into < Cow < ' static , str > > , { CookieBuilder { cookie : Cookie :: new ( name , value ) , } }
Creates a new `CookieBuilder` instance from the given name and value.
Creates a new ` CookieBuilder ` instance from the given name and value .
name
N
value
V
name
N
value
V
example
```rust
use actix_http::cookie::Cookie.


` ` ` rust use actix_http :: cookie :: Cookie .