cookie

abstract fun cookie(cookie: String)

Adds a single cookie to the request.

The cookie should be in Set-Cookie header format. The implementation will parse and properly format it for the Cookie header.

Parameters

cookie

Cookie string in Set-Cookie format.