// accessing header field in http request const request = context.switchToHttp().getRequest(); const headerFieldValue = request.headerField;