Skip to contents

Sets or adds a header to a response

Usage

set_header(res, name, value)

Arguments

res

A response builder object

name

The name of the header

value

The value of the header

Value

The response builder object