Skip to content

List examples

Debugging logs

Send debugging information in an errored response to a logging service.

Set security headers

Set common security headers such as X-XSS-Protection, X-Frame-Options, and X-Content-Type-Options.

Sign requests

Verify a signed request using the HMAC and SHA-256 algorithms or return a 403.

import { ListExamples } from "~/components";
<ListExamples directory="rules/snippets/examples" />

There are also two optional, additional properties:

  • filters string[]: A list of filters to render that helps someone filter the examples based on values in the frontmatter.
  • additionalProducts string[]: A list of additional product examples to look across our docs for. Looks for anything matching the products frontmatter in examples across other areas of the docs.

Was this helpful?

Yes No