MsetHeader
Bun

method

http.ClientRequest.setHeader

name: string,
value: string | number | readonly string[]
): this;

Sets a single header value. If the header already exists in the to-be-sent headers, its value will be replaced. Use an array of strings to send multiple headers with the same name.

@param name

Header name

@param value

Header value