What is the `type` in H3's `send()` method?
The Nuxt.com documentation doesn't even mention
send()
if you search it. The jsdocs.io docs don't have any information on what "type" is for. What on earth is this property for and how am I supposed to use it? π€·ββοΈ1 Reply
Sets the default
content-type
header when one is absent. It's mostly used internally. You'll rarely need it since h3 will do its best to infer the content type from your event handler.
I can't imagine why dependency documentation would need to be mentioned by Nuxt.