MgetHeader
Bun

method

http.ClientRequest.getHeader

name: string
): undefined | string | number | string[];

Gets the value of the HTTP header with the given name. If that header is not set, the returned value will be undefined.

@param name

Name of header