method Headers.set Private Headers.set(name: string,value: string,): void Sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist. Parameters name: string value: string Return Type void