Search
Preparing search index...
The search index is not available
kaptan
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Packet
Class Packet<T>
Type parameters
T
Hierarchy
Packet
Implements
IPacket
<
T
>
Index
Constructors
constructor
Properties
data
id
protocol
ref
Accessors
res
Filter
res
Meta
Methods
to
String
from
String
raw
Constructors
constructor
new
Packet
(
options
:
IPacketOptions
<
T
>
)
:
Packet
Parameters
options:
IPacketOptions
<
T
>
Returns
Packet
Properties
Optional
data
data
:
T
id
id
:
string
protocol
protocol
:
PacketProtocol
Optional
ref
ref
:
undefined
|
string
Accessors
res
Filter
get
resFilter
(
)
:
PacketFilter
Returns
PacketFilter
res
Meta
get
resMeta
(
)
:
IPacketOptions
<
T
>
Returns
IPacketOptions
<
T
>
Methods
to
String
to
String
(
)
:
string
Returns
string
Static
from
String
from
String<T>
(
str
:
string
)
:
Packet
<
T
>
Type parameters
T
Parameters
str:
string
Returns
Packet
<
T
>
Static
raw
raw
(
data
:
string
)
:
Packet
<
string
>
Parameters
data:
string
Returns
Packet
<
string
>
Globals
Address
Family
Packet
Protocol
Address
Events
IService
Options
Kaptan
Logger
Network
Packet
constructor
data
id
protocol
ref
res
Filter
res
Meta
to
String
from
String
raw
Packet
Filter
Packet
Handler
Remote
Remote
Service
Service
Service
Container
Socket
IPacket
IPacket
Handler
IPacket
Options
IRemote
Service
Opts
IService
Service
Constructor
IPacket
Filter
Log
Color
to
Hyphen
Space
uid
Generated using
TypeDoc