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: [] | [unknown]): IteratorResult<T, any>
Parameters
- ...__namedParameters: [] | [unknown]
Returns IteratorResult<T, any>
Optional
return
- return(value?: any): IteratorResult<T, any>
Parameters
Optional
value: any
Returns IteratorResult<T, any>
Optional
throw
- throw(e?: any): IteratorResult<T, any>
Parameters
Optional
e: any
Returns IteratorResult<T, any>