The highest tagged major version is
v2 .
Discover Packages
github.com/zishang520/engine.io
packet
package
Version:
v1.1.4
Opens a new window with list of versions in this module.
Published: Jul 14, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Options struct {
Compress bool `json:"compress"`
}
type Packet struct {
Type Type `json:"type"`
Data io .Reader `json:"data,omitempty"`
Options *Options `json:"options,omitempty"`
}
const (
OPEN Type = "open"
CLOSE Type = "close"
PING Type = "ping"
PONG Type = "pong"
MESSAGE Type = "message"
UPGRADE Type = "upgrade"
NOOP Type = "noop"
ERROR Type = "error"
)
Packet types.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.