官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's create a sendResponse function that will respond with a simple response."

A block of code is set as follows:

var request, response;
exports.dialogflowFirebaseFulfillment = firebase.https.onRequest((req, res) => {
request = req;
response = res;
console.log('Fortune Cookie Request headers: ' + JSON.stringify(request.headers));
console.log('Fortune Cookie Request body: ' + JSON.stringify(request.body));
if (request.body.queryResult) {
processV2Request();
} else {
console.log('Invalid Request');
return response.status(400).end('Invalid Webhook Request');
}
});

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

var request, response, parameters;

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click Add follow-up intent and select custom intent."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 嵊州市| 湛江市| 德钦县| 杭锦旗| 高淳县| 高碑店市| 沐川县| 台安县| 修文县| 宝应县| 墨玉县| 马山县| 翼城县| 成武县| 志丹县| 清丰县| 曲麻莱县| 洪泽县| 红安县| 齐河县| 康马县| 彰化县| 池州市| 涪陵区| 镇原县| 交城县| 鱼台县| 叙永县| 共和县| 沾益县| 绥德县| 镇原县| 海丰县| 始兴县| 龙陵县| 桂阳县| 涿鹿县| 永昌县| 宁津县| 策勒县| 丰城市|