Cookie constructor

Cookie([String name, String value ])

Creates a new cookie optionally setting the name and value.

By default the value of httpOnly will be set to true.

Implementation

factory Cookie([String name, String value]) => new _Cookie(name, value);