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

  • 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.

主站蜘蛛池模板: 小金县| 什邡市| 逊克县| 辽宁省| 藁城市| 红河县| 贡嘎县| 凤山县| 内乡县| 宜春市| 钟祥市| 晋中市| 奇台县| 蒙自县| 广东省| 唐山市| 儋州市| 焦作市| 宝坻区| 凤山县| 米泉市| 同江市| 宜城市| 南木林县| 德钦县| 阳信县| 应城市| 万安县| 枝江市| 合阳县| 南溪县| 永川市| 宣化县| 鹰潭市| 三都| 陵川县| 阳谷县| 广平县| 郑州市| 湾仔区| 张北县|