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.
2 parents 4502215 + abc8d69 commit ef32707Copy full SHA for ef32707
web_link.rst
@@ -195,6 +195,12 @@ You can also add links to the HTTP response directly from controllers and servic
195
}
196
197
198
+.. tip::
199
+
200
+ The possible values of link relations (``'preload'``, ``'preconnect'``, etc.)
201
+ are also defined as constants in the :class:`Symfony\\Component\\WebLink\\Link`
202
+ class (e.g. ``Link::REL_PRELOAD``, ``Link::REL_PRECONNECT``, etc.).
203
204
.. _`WebLink`: https://github.com/symfony/web-link
205
.. _`HTTP/2 Server Push`: https://tools.ietf.org/html/rfc7540#section-8.2
206
.. _`Resource Hints`: https://www.w3.org/TR/resource-hints/
0 commit comments