改名
This commit is contained in:
@@ -86,6 +86,15 @@ abstract class ClientAbstracts extends Component implements IClient
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $contentType
|
||||
*/
|
||||
public function setContentType(string $contentType)
|
||||
{
|
||||
$this->header['Content-Type'] = $contentType;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $path
|
||||
* @param array $params
|
||||
|
||||
Reference in New Issue
Block a user