RequestCookiesExt extension

on
  • Request

Methods

addCookie(Cookie cookie) → void

Available on Request, provided by the RequestCookiesExt extension

Add cookies to the list of cookies. A list of cookies will be sent along with response.
getCookies() Map<String, String>

Available on Request, provided by the RequestCookiesExt extension

Returns the cookies received from the request. The return value does not include cookies added after the request was received.
removeCookie(Cookie cookie) → void

Available on Request, provided by the RequestCookiesExt extension

Changes the cookie's expiration date and adds it to the cookie list. A list of cookies will be sent along with response.