The OpenD Programming Language

Config.additionalHeaders

Additional headers to put in the HTTP request. These should be formatted Name: value, like for example:

Config config;
config.additionalHeaders ~= "Authorization: Bearer your_auth_token_here";

Meta

History

Added February 19, 2021 (included in dub version 9.2)