Ambition.Response.set_header – ambition Reference Manual
Packages
ambition
Ambition
Response
body
body_array
body_stream
body_stream_length
content_type
cookies
headers
status
Response
done
get_body_data
get_body_length
get_cookie
header
is_done
redirect
set_cookie
set_header
set_header
Description:
public
void
set_header
(
string
key,
string
val)
Set a response header.
Parameters:
key
Header name
val
Content of header.