2.1 library(http/http_open): HTTP client library
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP client libraries
          • library(http/http_open): HTTP client library
            • http_open/3
            • map_method/2
            • disable_encoding_filter/1
            • http_set_authorization/2
            • open_hook/6
            • http_close_keep_alive/1
            • open_options/2
            • write_cookies/3
            • update_cookies/3
[semidet,multifile]http:write_cookies(+Out, +Parts, +Options)
Emit a Cookie: header for the current connection. Out is an open stream to the HTTP server, Parts is the broken-down request (see uri_components/2) and Options is the list of options passed to http_open. The predicate is called as if using ignore/1.
See also
- complements http:update_cookies/3.
- library(http/http_cookie) implements cookie handling on top of these hooks.