You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each possible output channel might require its own output format. The Accept: header is used to determine the requested format. For channels without such a header, like CLI, a fake header is created.
The Accept: header contains a MIME type. The MIME types are assigned to Renderers using an editable map.
MIME Mapping
JSON Renderer
XML Renderer
Plain Text Renderer
HTML Renderer
Script Strategies
The HTML Renderer supports script strategies, i.e., classes that abstract JavaScript libraries.
Channel Dependant Renderers
Each possible output channel might require its own output format. The
Accept:
header is used to determine the requested format. For channels without such a header, like CLI, a fake header is created.The
Accept:
header contains a MIME type. The MIME types are assigned to Renderers using an editable map.Script Strategies
The HTML Renderer supports script strategies, i.e., classes that abstract JavaScript libraries.
Templating
Some Renderers, like HTML, will need a templating system.
Possible Enhancements
These things could be beneficial; they are up to discussion.
The text was updated successfully, but these errors were encountered: