mirror of https://github.com/nealey/vail.git
Updated Geek Stuff (markdown)
parent
c58c5beb49
commit
0820dce7c7
|
@ -6,7 +6,7 @@ The server will accept packets in either format, but will only send packets in t
|
||||||
|
|
||||||
## Subprotocol `binary.vail.woozle.org`
|
## Subprotocol `binary.vail.woozle.org`
|
||||||
|
|
||||||
Network byte order, "binary" version of a Message structure.
|
Network byte order, "binary" version of a Message structure. To send messages in this format, be sure you specify a binary WebSocket message.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Message is a single Vail message.
|
// Message is a single Vail message.
|
||||||
|
@ -27,6 +27,7 @@ type Message struct {
|
||||||
## Subprotocol `json.vail.woozle.org`
|
## Subprotocol `json.vail.woozle.org`
|
||||||
|
|
||||||
A JSON encoded version of the message structure.
|
A JSON encoded version of the message structure.
|
||||||
|
Be sure to specify a text WebSocket message.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue