Skip to main content
Version: 3.39.2

Shield.prototype.unencryptedBackend

unencryptedBackend(configuration?): Backend

Returns a Backend representing an unencrypted connection to the POP.

Generally speaking, we encourage users to use Shield::encryptedBackend instead of this function. Data sent over this backend – the unencrypted version – will be sent over the open internet, with no protections. In most cases, this is not what you want. However, in some cases – such as when you want to ship large data blobs that you know are already encrypted — using these backends can prevent a double-encryption performance penalty.

Parameters

  • configuration : object optional
    • firstByteTimeout : number optional
      • An optional first byte timeout (in milliseconds) to set on the returned backend.