微信扫一扫联系客服

微信扫描二维码

进入报告厅H5

关注报告厅公众号

117

电子书-网络电话:轻量级客户-服务器通信(英)

# 计算机 # 网站开发 # 客户端 大小:3.37M | 页数:143 | 上架时间:2022-03-13 | 语言:英文

电子书-网络电话:轻量级客户-服务器通信(英).pdf

电子书-网络电话:轻量级客户-服务器通信(英).pdf

试看10页

类型: 电子书

上传者: 二一

出版日期: 2022-03-13

摘要:

Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to communicate with the server. With this practical guide, you’ll learn how to use WebSocket, a protocol that enables the client and server to communicate with each other on a single connection simultaneously. No more asynchronous communication or long polling!

For developers with a good grasp of JavaScript (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the WebSocket API. You’ll also learn how to use WebSocket with Transport Layer Security (TLS).

  • Learn how to use WebSocket API events, messages, attributes, and methods within your client application
  • Build bi-directional chat applications on the client and server with WebSocket as the communication layer
  • Create a subprotocol over WebSocket for STOMP 1.0, the Simple Text Oriented Messaging Protocol
  • Use options for older browsers that don’t natively support WebSocket
  • Protect your WebSocket application against various attack vectors with TLS and other tools

  • Debug applications by learning aspects of the WebSocket lifecycle
  • 直到最近,在浏览器中创建类似桌面的应用程序意味着使用低效的Ajax或Comet技术与服务器通信。通过这本实用指南,你将学会如何使用WebSocket,该协议使客户端和服务器能够在单个连接上同时相互通信。不再有异步通信或冗长的轮询!

    • 对于熟练掌握JavaScript(或许还有Node.js)的开发者,作者Andrew Lombardi在书中提供了有用的实践案例,帮助你快速掌握WebSocket API。你还将学习如何使用带有传输层安全(TLS)的WebSocket。

    • 了解如何在客户端应用程序中使用WebSocket API事件、消息、属性和方法
    • 以WebSocket为通信层,在客户端和服务器上构建双向聊天应用程序
    • 在WebSocket上为STOMP 1.0(面向文本的简单消息传输协议)创建一个子协议
    • 为不支持WebSocket的旧版浏览器使用选项
    • 利用TLS和其他工具保护你的WebSocket应用免受各种攻击载体的影响
    • 通过学习WebSocket生命周期的各个方面来调试应用程序
    展开>> 收起<<

    请登录,再发表你的看法

    登录/注册

    二一

    相关文库

    更多

    浏览量

    (73)

    下载

    (2)

    收藏

    分享

    购买

    5积分

    0积分

    原价5积分

    VIP

    *

    投诉主题:

    • 下载 下架函

    *

    描述:

    *

    图片:

    上传图片

    上传图片

    最多上传2张图片

    提示

    取消 确定

    提示

    取消 确定

    提示

    取消 确定

    积分充值

    选择充值金额:

    30积分

    6.00元

    90积分

    18.00元

    150+8积分

    30.00元

    340+20积分

    68.00元

    640+50积分

    128.00元

    990+70积分

    198.00元

    1640+140积分

    328.00元

    微信支付

    余额支付

    积分充值

    填写信息

    姓名*

    邮箱*

    姓名*

    邮箱*

    注:填写完信息后,该报告便可下载

    选择下载内容

    全选

    取消全选

    已选 1