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

  • WebRTC Cookbook
  • Andrii Sergiienko
  • 224字
  • 2021-07-23 20:27:06

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include our custom JavaScript library located in the mylib.js file."

A block of code is set as follows:

-module(sigserver_app).
-behaviour(application).
-export([start/2, stop/1, start/0]).
start() ->
    ok = application:start(ranch),
    ok = application:start(crypto),
    ok = application:start(cowlib),
    ok = application:start(cowboy),

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

private static Map<Integer,Set<WebSocket>> Rooms = new HashMap<>();
    private int myroom;
    public Main() {
        super(new InetSocketAddress(30001));
    }

Any command-line input or output is written as follows:

rebar create-app appid=sigserver

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "When the customer enters a message and clicks on the Submit query button, we will wrap the message into a JSON object and send it via the data channel."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 阿鲁科尔沁旗| 绥江县| 镇康县| 建昌县| 弋阳县| 治多县| 团风县| 岚皋县| 东阳市| 云阳县| 阜新| 奉化市| 红原县| 磴口县| 洮南市| 泰安市| 万山特区| 信阳市| 昆明市| 诸城市| 京山县| 荣成市| 土默特左旗| 禹州市| 团风县| 西林县| 临泉县| 保德县| 陇西县| 邵东县| 交口县| 营山县| 来安县| 定南县| 福贡县| 勐海县| 尉氏县| 博野县| 巴中市| 商丘市| 岳普湖县|