before_request_add_cookies library

BeforeRequestCallback generator functions. that helps you to add Cookies to requests.

Functions

beforeRequestAddCookies(List<Cookie> getCookies()) BeforeRequestCallback
Creates BeforeRequestCallback that dynamically adds Cookies to requests.
beforeRequestAddCookiesStatic(List<Cookie> cookies) BeforeRequestCallback
Creates BeforeRequestCallback that adds static list of Cookies to requests.