How to use the soap.ClientSSLSecurity function in soap

To help you get started, weā€™ve selected a few soap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RobinBuschmann / soap-typescript / lib / models / SOAPClient.ts View on Github external
(err: any, client: Client) => {

          if (err) {

            reject(err);
            return;
          }

          client.setSecurity(new ClientSSLSecurity(options.clientKey as string, options.clientCert as string, '', {}));

          resolve(client);
        }
      );