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.
1 parent 59aa6db commit de9aa78Copy full SHA for de9aa78
src/acme/headers.rs
@@ -5,8 +5,13 @@ use ngx::collections::Vec;
5
6
use crate::time::Time;
7
8
+/// Represents an RFC8288 Link header value.
9
+///
10
+/// The `Link` header is used to indicate relationships between resources, as defined in [RFC8288](https://datatracker.ietf.org/doc/html/rfc8288).
11
pub struct Link<'a> {
12
+ /// The URI reference target of the link.
13
pub target: &'a UriReferenceStr,
14
+ /// The relationship types (the `rel` parameter) associated with the link.
15
pub rel: Vec<&'a str>,
16
}
17
@@ -16,6 +21,7 @@ impl Link<'_> {
21
22
18
23
24
+/// An iterator over Link header values parsed from an RFC8288-compliant Link header string.
19
25
pub struct LinkIter<'a>(&'a str);
20
26
27
impl<'a> LinkIter<'a> {
0 commit comments