@@ -793,7 +793,11 @@ public function tryToRevertClientToPool(bool $connect_failed = false)
793
793
public function getSSL(): int
794
794
public function withSSL(int $mode = 2): self
795
795
public function getCAFile(): string
796
- public function withCAFile(string $ca_file = '/Users/twosee/Toast/swlib/saber/src/cacert.pem'): self
796
+ public function withCAFile(string $ca_file = __DIR__ . '/cacert.pem'): self
797
+ public function getSSLCertFile(): string
798
+ public function withSSLCertFile(string $cert_file): self
799
+ public function getSSLKeyFile(): string
800
+ public function withSSLKeyFile(string $key_file): self
797
801
public function withSSLVerifyPeer(bool $verify_peer = false, ?string $ssl_host_name = ''): self
798
802
public function withSSLAllowSelfSigned(bool $allow = true): self
799
803
public function getSSLConf()
@@ -805,6 +809,10 @@ public function getProxy(): array
805
809
public function withProxy(string $host, int $port): self
806
810
public function withSocks5(string $host, int $port, ?string $username, ?string $password): self
807
811
public function withoutProxy(): self
812
+ public function getBindAddress(): ?string
813
+ public function withBindAddress(string $address): self
814
+ public function getBindPort(): ?int
815
+ public function withBindPort(int $port): self
808
816
public function getTimeout(): float
809
817
public function withTimeout(float $timeout): self
810
818
public function getRedirect(): int
0 commit comments