method Headers.setprivateHeaders.set(name: string,value: string,): voidDeprecatedSets a new value for an existing header inside a Headers object, or adds the header if it does not already exist. Parametersname: stringvalue: stringReturn Typevoid