public function withCookies(): self
    {
        return tap($this, function ($request) {
            return $this->options = array_merge_recursive($this->options, [
                'cookies' => static::getCookieJar(),
            ]);
        });
    }
public function withCookies(): self
    {
        return tap($this, function ($request) {
            return $this->options = array_merge_recursive($this->options, [
                'cookies' => static::getCookieJar(),
            ]);
        });
    }
public function withCookies ( ) : self { return tap ( $ this , function ( $ request ) { return $ this -> options = array_merge_recursive ( $ this -> options , [ 'cookies' => static :: getCookieJar ( ) , ] ) ; } ) ; }
Store any cookies in a cookie jar.

@return \BrianFaust\Http\PendingHttpRequest
Store any cookies in a cookie jar .