An implementation of a parser that enables communication with the server. Implements stringify, so that requests can be sent to the server in the proper format. Implements parse which decodes responses sent by the server.

Hierarchy

  • Parser

Constructors

Methods

Constructors

Methods

  • parse(data: string, batch: boolean): CloudVisionMessage
  • Parameters

    • data: string
    • batch: boolean

    Returns CloudVisionMessage

  • stringify(message: CloudVisionQueryMessage): string
  • Parameters

    • message: CloudVisionQueryMessage

    Returns string