set_http_headers


Description:

[ Version ( since = "2.36" ) ]
public void set_http_headers (owned MessageHeaders headers)

Assign the provided MessageHeaders to the response.

headers need to be of the type soup_message_headers_response. Any existing headers will be overwritten.

Parameters:

this

a URISchemeResponse

headers

the HTTP headers to be set




2022 vala-language.org