Writes the accumulated AlibabaFcHttpRawResponseOptions onto the FC response.
Unlike a Web Response, the FC response is imperative: set the status and every header, then send() the body once. Multiple Set-Cookie values are passed as an array (FC emits them as repeated headers), never folded into one.
Response
send()
Set-Cookie
Write the response onto the FC resp and send it.
resp
The FC response object.
Static
Factory.
The imperative FC response object.
The accumulated response options.
A new wrapper.
Writes the accumulated AlibabaFcHttpRawResponseOptions onto the FC response.
Unlike a Web
Response, the FC response is imperative: set the status and every header, thensend()the body once. MultipleSet-Cookievalues are passed as an array (FC emits them as repeated headers), never folded into one.