Joachim Bauch
9474333b60
Use new Upgrader API in examples
2014-04-16 17:42:15 +02:00
Joachim Bauch
b2f990180a
Implement Upgrader API ( #6 ).
2014-04-16 17:25:17 +02:00
Gary Burd
03206ef31e
Various improvements to README files.
2014-03-20 13:26:28 -07:00
Gary Burd
05618edccc
Add file watcher example.
2014-03-20 12:25:30 -07:00
Gary Burd
4ec58d24a4
Merge pull request #21 from longsleep/underlyingConn
...
Added helper function UnderlyingConn to retrieve net.Conn from Conn objects.
2014-03-18 09:27:49 -07:00
Simon Eisenmann
ccad3db007
Added helper function UnderlyingConn to retrieve net.Conn from Conn objects.
2014-03-18 15:26:10 +01:00
Gary Burd
119002ce04
Merge pull request #16 from darabos/patch-1
...
Fix small inconsistency in example.
2014-02-17 21:22:10 -08:00
Daniel Darabos
1b37ccbb61
Fix small inconsistency in example.
2014-02-15 13:48:14 +01:00
Gary Burd
92334662ba
Merge pull request #14 from ancarda/master
...
Fixed Examples
2013-12-31 08:31:07 -08:00
Mark Dain
30354e97e2
Fixed Examples
...
- Typo ("conn.WriteMessaage" should be "conn.WriteMessage")
- Fixed Incorrect WriteMessage call:
func (c *Conn) WriteMessage(messageType int, data []byte) error
But the example uses `_, err` when there is only 1 return type.
2013-12-31 11:00:58 +00:00
Gary Burd
707d1f6c6b
Cleanup issues reported by golint.
2013-12-23 12:08:49 -08:00
Gary Burd
67d178946a
Implement net.Error on timeout errors.
...
Fixes #10 .
2013-12-23 12:01:25 -08:00
Gary Burd
7274f97ac5
Merge pull request #12 from 29decibel/master
...
fix typo in ReadJSON deprecated comments
2013-12-23 11:42:01 -08:00
Gary Burd
c50896b0f1
Update Travis config, Go 1.0 not supported.
2013-12-23 11:41:02 -08:00
Mike Li
ccedd444b5
fix typo in ReadJSON deprecated comments
2013-12-23 10:26:55 -08:00
Gary Burd
f273336ae2
Modify client to work with Chrome debug server.
...
The Chrome debug server does not use case insensitive comparison on the
Connection header tokens as required by the HTTP RFC. Modify the client
to send "Connection: Upgrade" as expected by Chrome. Because this
matches the examples in the RFC, this change might improve
interoperability with other servers.
2013-12-21 08:44:58 -08:00
Gary Burd
5625e8a51f
Fix tabs in overview examples.
2013-12-20 15:57:02 -08:00
Gary Burd
9cdec41bda
Improve Upgrade documentation.
2013-12-20 14:54:49 -08:00
Gary Burd
536d8dd066
Fix typo in Upgrade example.
2013-12-20 13:49:38 -08:00
Gary Burd
b118f62ec0
Add subprotocol negotiation to Dialer.
2013-12-14 08:06:24 -08:00
Gary Burd
87accaef66
Add Dialer.
2013-12-14 08:06:24 -08:00
Kamil Kisiel
2119675aad
Add go 1.2 to travis.yml
2013-12-04 23:16:17 -08:00
Kamil Kisiel
8e9f6b8cfd
Add travis.yml
2013-12-01 10:51:23 -08:00
Gary Burd
93b1570a27
Improve documentation.
...
- Introduce ReadMessage and WriteMessage before NextReader and
NextWriter in the package comment. It's better to introduce the easy
methods first.
- Move sections on message of types before the concurrency section.
2013-10-29 17:43:03 -07:00
Gary Burd
2903ebc236
Add more information to README.md.
2013-10-29 06:31:06 -07:00
Craig Jackson
bc7ffd7c1e
Fix test for deprecated JSON funcs.
2013-10-27 18:33:40 -07:00
Craig Jackson
3d66655aaa
Added WriteJSON/ReadJSON deprecated methods for backwards compatibility.
2013-10-27 18:27:32 -07:00
Craig Jackson
8e0dcebbf0
Use WriteJSON and ReadJSON on Conn struct.
2013-10-27 18:27:31 -07:00
Gary Burd
1627eef2a3
Improve documentation.
2013-10-27 08:34:33 -07:00
Gary Burd
80c1e5a741
Add Subprotocols helper function.
2013-10-26 06:52:30 -07:00
Gary Burd
273ecadfca
Initial commit
2013-10-16 16:30:59 -07:00