cookie_wrapper 0.1.2 copy "cookie_wrapper: ^0.1.2" to clipboard
cookie_wrapper: ^0.1.2 copied to clipboard

Platformweb

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.

1
likes
130
pub points
55%
popularity

Publisher

verified publisherdavidtaylor.io

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.

Repository (GitLab)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on cookie_wrapper