Constructs a new ClientPayload.
Optional
properties:
IClientPayload
Properties to set
Optional
connectClientPayload connectAttemptCount.
Optional
connectClientPayload connectReason.
Optional
connectClientPayload connectType.
Optional
device
ClientPayload device.
Optional
deviceClientPayload devicePairingData.
Optional
dnsClientPayload dnsSource.
Optional
fbClientPayload fbAppId.
Optional
fbClientPayload fbCat.
Optional
fbClientPayload fbDeviceId.
Optional
fbClientPayload fbUserAgent.
Optional
interopClientPayload interopData.
Optional
iosClientPayload iosAppExtension.
Optional
lc
ClientPayload lc.
Optional
memClientPayload memClass.
Optional
oc
ClientPayload oc.
Optional
paddingClientPayload paddingBytes.
Optional
passive
ClientPayload passive.
Optional
product
ClientPayload product.
Optional
pull
ClientPayload pull.
Optional
pushClientPayload pushName.
Optional
sessionClientPayload sessionId.
ClientPayload shards.
Optional
shortClientPayload shortConnect.
Optional
trafficClientPayload trafficAnonymization.
Optional
userClientPayload userAgent.
Optional
username
ClientPayload username.
Optional
webClientPayload webInfo.
Optional
yearClientPayload yearClass.
Static
create
Creates a new ClientPayload instance using the specified properties.
Optional
properties:
IClientPayload
Properties to set
ClientPayload instance
Static
decode
Decodes a ClientPayload message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
ClientPayload
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a ClientPayload message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ClientPayload
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified ClientPayload message. Does not implicitly verify messages.
ClientPayload message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified ClientPayload message, length delimited. Does not implicitly verify messages.
ClientPayload message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a ClientPayload message from a plain object. Also converts values to their respective internal types.
Plain object
ClientPayload
Static
getStatic
toCreates a plain object from a ClientPayload message. Also converts values to other types if specified.
ClientPayload
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a ClientPayload.