Efl.Net.Dialer_Http.cookie_jar

Description

This property sets the filename to read and write cookies.

By setting a file to load and store cookies, the internal cookie system will be activated, automatically handling HTTP headers such as 'Set-cookie:' and sending the appropriate cookies for the server.

If a new, empty session is to be used, start with an empty or non-existent file such as created with mkstemp() or tmpfile(). Alternatively use an empty string ("") to store it in memory.

If you want to start from a pre-existing cookie jar but do not want to modify it, first copy that file and then pass the new, temporary file.

Likewise, if you want to add cookies to the system, create a cookie jar and pass its path to this property.

that whenever this property is set, even if to the same value, it will flush all cookies to the previously set file, then erase all known cookies. It will then use the new file (if any).

Values

  • path - Path to cookie jar

Signature

@property cookie_jar {
    get {}
    set {}
    values {
        path: string;
    }
}

C signature

const char *efl_net_dialer_http_cookie_jar_get(const Eo *obj);
void efl_net_dialer_http_cookie_jar_set(Eo *obj, const char *path);

Implemented by