Constructs a new ClientPayload.
Optional properties: IClientPayloadProperties to set
ClientPayload connectAttemptCount.
ClientPayload connectReason.
ClientPayload connectType.
ClientPayload device.
Optional deviceClientPayload devicePairingData.
Optional dnsClientPayload dnsSource.
ClientPayload fbAppId.
ClientPayload fbCat.
ClientPayload fbDeviceId.
ClientPayload fbUserAgent.
Optional interopClientPayload interopData.
ClientPayload iosAppExtension.
ClientPayload lc.
ClientPayload memClass.
ClientPayload oc.
ClientPayload paddingBytes.
ClientPayload passive.
ClientPayload product.
ClientPayload pull.
ClientPayload pushName.
ClientPayload sessionId.
ClientPayload shards.
ClientPayload shortConnect.
Optional userClientPayload userAgent.
ClientPayload username.
Optional webClientPayload webInfo.
ClientPayload yearClass.
Static createCreates a new ClientPayload instance using the specified properties.
Optional properties: IClientPayloadProperties to set
ClientPayload instance
Static decodeDecodes a ClientPayload message from the specified reader or buffer.
Reader or buffer to decode from
Optional length: numberMessage 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 encodeEncodes the specified ClientPayload message. Does not implicitly verify messages.
ClientPayload message or plain object to encode
Optional writer: WriterWriter 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: WriterWriter 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 toCreates a plain object from a ClientPayload message. Also converts values to other types if specified.
ClientPayload
Optional options: IConversionOptionsConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a ClientPayload.