Interface HeadersIterator<T>
interface HeadersIterator<T> {
[iterator](): HeadersIterator<T>;
next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
return?(value?: any): IteratorResult<T, any>;
throw?(e?: any): IteratorResult<T, any>;
}
[iterator](): HeadersIterator<T>;
next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
return?(value?: any): IteratorResult<T, any>;
throw?(e?: any): IteratorResult<T, any>;
}
Type Parameters
Hierarchy
- IteratorObject<T, BuiltinIteratorReturn, unknown>
- HeadersIterator ()
Index
Methods
Methods
[iterator]
- [iterator](): HeadersIterator<T>
Returns HeadersIterator<T>
next
- next(...__namedParameters): IteratorResult<T, any>
Parameters
Rest
...__namedParameters: [] | [unknown]
Returns IteratorResult<T, any>
Optional
return
- return(value?): IteratorResult<T, any>
Parameters
Optional
value: any
Returns IteratorResult<T, any>
Optional
throw
- throw(e?): IteratorResult<T, any>
Parameters
Optional
e: any
Returns IteratorResult<T, any>