Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a ClientPayload.

Hierarchy

  • ClientPayload

Implements

Index

Constructors

Properties

connectAttemptCount: number

ClientPayload connectAttemptCount.

ClientPayload connectReason.

ClientPayload connectType.

device: number

ClientPayload device.

dnsSource?: IDNSSource

ClientPayload dnsSource.

fbAppId: number | Long

ClientPayload fbAppId.

fbCat: Uint8Array

ClientPayload fbCat.

fbDeviceId: Uint8Array

ClientPayload fbDeviceId.

fbUserAgent: Uint8Array

ClientPayload fbUserAgent.

ClientPayload iosAppExtension.

lc: number

ClientPayload lc.

oc: boolean

ClientPayload oc.

passive: boolean

ClientPayload passive.

ClientPayload product.

pushName: string

ClientPayload pushName.

ClientPayload regData.

sessionId: number

ClientPayload sessionId.

shards: number[]

ClientPayload shards.

shortConnect: boolean

ClientPayload shortConnect.

userAgent?: IUserAgent

ClientPayload userAgent.

username: number | Long

ClientPayload username.

webInfo?: IWebInfo

ClientPayload webInfo.

Methods

  • toJSON(): {}
  • decode(reader: Uint8Array | Reader, length?: number): ClientPayload
  • Decodes a ClientPayload message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns ClientPayload

    ClientPayload

  • Decodes a ClientPayload message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns ClientPayload

    ClientPayload

  • Encodes the specified ClientPayload message. Does not implicitly verify messages.

    Parameters

    • message: IClientPayload

      ClientPayload message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Encodes the specified ClientPayload message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IClientPayload

      ClientPayload message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Creates a ClientPayload message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns ClientPayload

    ClientPayload

  • toObject(message: ClientPayload, options?: IConversionOptions): {}
  • Creates a plain object from a ClientPayload message. Also converts values to other types if specified.

    Parameters

    • message: ClientPayload

      ClientPayload

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): string
  • Verifies a ClientPayload message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc