Q27: What properties are available on the context parameter in getServerSideProps?
getServerSideProps context includes: req (HTTP IncomingMessage), res (HTTP ServerResponse), query (URL query string and path params), params, resolvedUrl, locale, locales, and defaultLocale.
Key Takeaways
Provides direct access to Node.js HTTP
reqandresobjects.querycontains both query string parameters and path parameters.
Knowledge Check
Which object in getServerSideProps context allows reading client request cookies?