Skip to main content
Version: 3.39.2

Shield.prototype.encryptedBackend

encryptedBackend(configuration?): Backend

Returns a Backend representing an encrypted connection to the POP.

For reference, this is almost always the backend that you want to use. Only use Shield::unencryptedBackend in situations in which you are 100% sure that all the data you will send and receive over the backend is already encrypted.

Parameters

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