From 8459bebceb9533948193774371cbd9fd571b78ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 16 Oct 2019 09:48:31 +0200 Subject: Cowboy 2.7.0 --- docs/en/cowboy/2.3/manual/cowboy_websocket/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'docs/en/cowboy/2.3/manual/cowboy_websocket/index.html') diff --git a/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html index 3385534c..8116f8a6 100644 --- a/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html +++ b/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html @@ -68,7 +68,7 @@

The module cowboy_websocket implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.

Callbacks

Websocket handlers must implement the following callback interface:

-
@@ -143,7 +143,7 @@ http://www.gnu.org/software/src-highlite -->

Types

cow_ws:frame()

-
@@ -158,7 +158,7 @@ http://www.gnu.org/software/src-highlite -->

Websocket frames that can be sent as a response.

Note that there is no need to send pong frames back as Cowboy does it automatically for you.

opts()

-
@@ -171,7 +171,7 @@ http://www.gnu.org/software/src-highlite -->

Websocket handler options.

This configuration is passed to Cowboy from the init/2 function:

-
@@ -238,6 +238,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.7
  • +
  • 2.6
  • 2.5
  • -- cgit v1.2.3