Provides translation of the input content from the source language to the target language.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

The resolved configuration of TranslateClient class. This is resolved and normalized from the configuration interface.

Methods

  • Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.

    Returns void