This commit is contained in:
2021-09-30 17:06:57 +08:00
parent 3fc18c71a2
commit eaa1916cad
2 changed files with 9 additions and 22 deletions
-14
View File
@@ -77,13 +77,6 @@ interface IClient
public function request(string $method, string $path, array $params = []): ResponseInterface;
/**
* @param string $host
* @return static
*/
public function withHost(string $host): static;
/**
* @param array $header
* @return static
@@ -162,13 +155,6 @@ interface IClient
public function withCa(string $ssl_key_file): static;
/**
* @param int $port
* @return static
*/
public function withPort(int $port): static;
/**
* @param string|StreamInterface $data
* @return static