1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
echo/website/content/recipes/websocket.md
Vishal Rana 0176385654 Moved examples to recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-08 20:10:55 -07:00

547 B

title menu
WebSocket
side
parent weight
recipes 5

Server

server.go

{{< embed "websocket/server.go" >}}

Client

index.html

{{< embed "websocket/public/index.html" >}}

Output

Client

Hello, Client!
Hello, Client!
Hello, Client!
Hello, Client!
Hello, Client!

Server

Hello, Server!
Hello, Server!
Hello, Server!
Hello, Server!
Hello, Server!

Maintainers

Source Code