Introduction

WebSocket is protocol, which enables two-way communication between a client and server:

The goal WebSocket is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections. (RFC 6455)

WebSocket works over HTTP protocol.

Syntax

Parameters

Untitled Database

Working with string messages

Establish a web socket connection

Working with binary messages

Making a secure web socket connection