We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
headers_***_iterator
1 parent b74b111 commit da57233Copy full SHA for da57233
src/http/request.rs
@@ -393,13 +393,13 @@ impl Request {
393
}
394
395
/// Iterate over headers_in
396
- /// each header item is (String, String) (copied)
+ /// each header item is (&str, &str) (borrowed)
397
pub fn headers_in_iterator(&self) -> NgxListIterator {
398
unsafe { list_iterator(&self.0.headers_in.headers) }
399
400
401
/// Iterate over headers_out
402
403
pub fn headers_out_iterator(&self) -> NgxListIterator {
404
unsafe { list_iterator(&self.0.headers_out.headers) }
405
0 commit comments