3.21.1 Emitting HTML documents
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
The HTTP server libraries
The library(http/html_write) library
Emitting HTML documents
reply_html_page/2
reply_html_page/3
reply_html_partial/1
print_html/1
print_html/2
html_print_length/2
Availability:
:- use_module(
library(http/html_write)
).
html_print_length
(
+List, -Length
)
When calling
html_print/[1,2]
on
List
,
Length
characters will be produced. Knowing the length is needed to provide the
Content-length
field of an HTTP reply-header.