HSTSPolicy.from_response


Description:

[ CCode ( has_construct_function = false ) ]
public HSTSPolicy.from_response (Message msg)

Parses msg's first "Strict-Transport-Security" response header and returns a HSTSPolicy.

Parameters:

msg

a Message

Returns:

a new HSTSPolicy, or null if no valid "Strict-Transport-Security" response header was found.




2022 vala-language.org