render

Renders the HTML content into a single string.

Html+Rendering.swift:8
consuming func render() -> String

Returns

The rendered HTML content.

This method is synchronous and collects the entire rendered content into a single string. For server applications, use the async API render(into:chunkSize:) instead.