FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/dev / 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.