ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Interface **Phalcon\Http\ResponseInterface**[](# "永久链接至标题") ### Methods[](# "永久链接至标题") abstract public **setStatusCode** (*unknown* $code, [*unknown* $message]) ... abstract public **getHeaders** () ... abstract public **setHeader** (*unknown* $name, *unknown* $value) ... abstract public **setRawHeader** (*unknown* $header) ... abstract public **resetHeaders** () ... abstract public **setExpires** (*unknown* $datetime) ... abstract public **setNotModified** () ... abstract public **setContentType** (*unknown* $contentType, [*unknown* $charset]) ... abstract public **redirect** ([*unknown* $location], [*unknown* $externalRedirect], [*unknown* $statusCode]) ... abstract public **setContent** (*unknown* $content) ... abstract public **setJsonContent** (*unknown* $content) ... abstract public **appendContent** (*unknown* $content) ... abstract public **getContent** () ... abstract public **sendHeaders** () ... abstract public **sendCookies** () ... abstract public **send** () ... abstract public **setFileToSend** (*unknown* $filePath, [*unknown* $attachmentName]) ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Http\Response\CookiesInterface") | - [上一页](# "Interface Phalcon\Http\Request\FileInterface") | - [API Indice](#) »