콘텐츠로 이동
한국어

completeHtml

이 콘텐츠는 아직 번역되지 않았습니다.

completeHtml(status, body, headers?): HttpResponse

Defined in: src/http/Html.ts:87

Build an HTML response: text/html; charset=utf-8 plus X-Content-Type-Options: nosniff (so the declared type is honoured). Accepts a SafeHtml (the safe path) or a raw string (the caller asserting it is safe). Supplied headers win on key collision.

number

string | SafeHtml

Record<string, string>

HttpResponse