HttpResponse.addHeader

Adds a header to the response.

struct HttpResponse
addHeader
(
string name
,
string value
)

Parameters

name string

The name of the header.

value string

The value to set for the header.

Return Value

The response object, for method chaining.

Meta