Http module

set_header

procedure · 1 overloadSource

A header sent with every request of client that does not set it: set_header(*api, "Authorization", "Bearer abc"). Setting a name again replaces the value.

set_header :: (client: *Client, name: string, value: string)

A header sent with every request of client that does not set it: set_header(*api, "Authorization", "Bearer abc"). Setting a name again replaces the value.

Parameters

client: *Client
name: string
value: string

See also