Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Compress bool `json:"compress" msgpack:"compress"`
// Deprecated: this method will be removed in the next major release, please use [Options.WsPreEncodedFrame] instead.
WsPreEncoded types.BufferInterface
WsPreEncodedFrame types.BufferInterface `json:"wsPreEncodedFrame,omitempty" msgpack:"wsPreEncodedFrame,omitempty"`
}
type Packet ¶
type Packet struct {
Type Type `json:"type" msgpack:"type"`
Data io.Reader `json:"data,omitempty" msgpack:"data,omitempty"`
Options *Options `json:"options,omitempty" msgpack:"options,omitempty"`
// Deprecated: this method will be removed in the next major release, please use [Options.WsPreEncodedFrame] instead.
WsPreEncoded types.BufferInterface
}
Click to show internal directories.
Click to hide internal directories.