Answers for "nestjs guard get custom header"

0

nestjs get request header in guard

// accessing header field in http request
const request = context.switchToHttp().getRequest();
const headerFieldValue = request.headerField;
Posted by: Guest on April-19-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language