StupidBeauty
Read times:311Posted at:Mon Jul 4 21:58:35 2011
- no title specified

Wt3.1.9文档翻译:Wt::Http::Response类参考,Wt::Http::Response Class Reference

详细描述

一个HTTP 响应

使用HTTP 响应来构造针对一个HTTP 请求(参考Request )的响应。

具体地,你可以:

  • •.使用setMimeType()来设置返回内容的多用途互连网邮件扩展(mime)类型

  • •.使用addHeader()来添加HTTP 报文头

  • •.将内容以流的方式输出到out()

你还可以提供一个不完整的响应。在那种情况下,对于下一个请求 ,你可以使用 createContinuation() 来创建一个续传 (continuation)对象 ,再用那个对象来注释某些内容以继续处理响应对象

参考

WResource::handleRequest()

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4