2.1 library(http/http_open): HTTP client library
All Application Manual Name SummaryHelp

  • 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
            • keep_alive/4
            • http_close_keep_alive/1
            • open_options/2
            • write_cookies/3
            • update_cookies/3
Availability::- use_module(library(http/http_open)).
Source[det]keep_alive(+StreamPair, +Host, +In, -Left)
Callback when closing the range stream used to process the content of the reply. This callback makes the stream available for future keep-alive connections or closes the stream. The stream is closed if

  • There are too many bytes left unprocessed in the range stream.
  • There are too many pooled connections.