cookie_wrapper 0.1.2 cookie_wrapper: ^0.1.2 copied to clipboard
An HTTP Cookies implementation for the client to get, set and remove cookies. It is very simple and well tested. Uses a package test to maintain capability on all platforms.
Cookie Wrapper #
An HTTP Cookies implementation for the client.
Forked from the Cooky package to support cross-platform use cases (for speed of development). If you don't need to be able to compile against anything other than web then please use that.
Usage #
import 'package:cookie_wrapper/cookie.dart';
var cookie = Cookie.create();
setCookie() async {
cookie.set('key', 'value'); // returns empty for non-web
}
See our example/example.dart for a more complete example.