Request.addHeaders

Add headers to request

struct Request
void
addHeaders
(
in string[string] headers
)

Parameters

headers string[string]

headers to send.

Examples

rq = Request();
rq.keepAlive = true;
rq.addHeaders(["X-Header": "test"]);

Meta