Sam Broughton
|
295028b997
|
Fix typos in chat example
|
2016-08-02 07:24:52 +01:00 |
Gary Burd
|
5e2e56d5df
|
Improve chat example
- Remove jQuery.
- Rename Conn to Client to avoid confusion with underlying ws
connection.
- Remove global variables.
|
2016-07-18 16:08:34 -07:00 |
Ryan Havar
|
b5afd49817
|
Update hub.go
|
2016-07-10 23:15:05 -05:00 |
Gary Burd
|
54f9decdbf
|
Add description to the chat example readme
|
2016-07-01 11:57:38 -07:00 |
Gary Burd
|
a68708917c
|
Coalesce outbound messages in chat example
|
2016-06-06 16:20:22 -07:00 |
Gary Burd
|
afffb15196
|
Merge branch 'varnames'
|
2016-05-26 21:01:19 -07:00 |
Gary Burd
|
24cddddcc0
|
Use single character receiver names in chat example
|
2016-05-26 21:00:24 -07:00 |
Gary Burd
|
2301bcbf5c
|
Cleanup js in chat example
|
2016-05-26 10:19:40 -07:00 |
Jean de Klerk
|
be95f72b73
|
Meaningful names for connection, message
|
2016-05-18 08:57:16 -06:00 |
Jean de Klerk
|
a6108176e8
|
Meaningful names for hub
|
2016-05-18 08:56:16 -06:00 |
Gary Burd
|
5434f8b69b
|
Improve IsUnexpectedCloseError examples
|
2016-01-19 18:24:46 -08:00 |
Gary Burd
|
567453a710
|
Require GET in Upgrader.Upgrade.
Return error if the request method is not GET.
Remove all request method tests from the examples.
|
2015-11-02 09:08:11 -08:00 |
Henri Koski
|
20b4ee30ab
|
Small typo fix in comment
|
2015-10-06 21:40:04 +03:00 |
Gary Burd
|
6eb6ad425a
|
Improve chat example documentation
|
2015-07-14 07:06:27 -07:00 |
Christian Stefanescu
|
0a52d61198
|
fixed typo in comment
|
2014-09-11 08:36:21 +02:00 |
Gary Burd
|
bc19d3d337
|
Improve chat example.
- Log all handshake errors.
- Prevent double close on send channel.
|
2014-06-27 13:08:22 -07:00 |
Gary Burd
|
15aed3b4a4
|
Relicense to the Gorilla WebSocket Authors.
|
2014-04-18 14:25:11 -07:00 |
Joachim Bauch
|
8827bd1a23
|
Moved Upgrader variable to package level.
|
2014-04-18 00:13:15 +02:00 |
Joachim Bauch
|
b03dcbad2a
|
Updated Origin check.
The host in the Origin header must match the host of the request by default.
|
2014-04-18 00:07:36 +02:00 |
Joachim Bauch
|
9474333b60
|
Use new Upgrader API in examples
|
2014-04-16 17:42:15 +02:00 |
Gary Burd
|
273ecadfca
|
Initial commit
|
2013-10-16 16:30:59 -07:00 |