Documents / @faasjs/core / HttpSetContentType
Type Alias: HttpSetContentType
HttpSetContentType = (
type,charset?) =>void
Set the response content type, optionally overriding the charset.
Parameters
type
string
Content type alias or raw MIME type.
charset?
string
Optional charset appended to the content type.
Returns
void
No return value.