Package: closure-html

Function make-rod-sink

Lambda List

make-rod-sink (&rest initargs &key encoding &allow-other-keys)

Return Value

a HAX handler


Returns a sink creating rods.

This function creates a serialization sink. Sinks are HAX handlers that write events in their normal HTML syntax, and return the result from hax:end-document, if applicable.

This particular kind of sink creates an HTML document in a rod.

On Lisps with Unicode support, make-string-sink is an alias for this function.


See also