Module salvo::writer[][src]

Expand description

Writer trait and it’s impls.

Structs

Write text content to response as html content. It will set content-type to text/html; charset=utf-8.

Write serializable content to response as json content. It will set content-type to application/json; charset=utf-8.

Write text content to response as json content. It will set content-type to application/json; charset=utf-8.

Write text content to response as text content. It will set content-type to text/plain; charset=utf-8.

Traits

Writer is used to write data to response.