add method

Future<void> add(
  1. Cookie cookie
)

Sets a cookie.

Implementation

Future<void> add(Cookie cookie) => _client.send(
    _handler.cookies.buildAddCookieRequest(cookie),
    _handler.cookies.parseAddCookieResponse);