zhamao-framework/docs/api/ZM/Utils/ConnectionUtil.md

72 lines
954 B
Markdown
Raw Normal View History

2022-12-18 12:14:51 +00:00
# ZM\Utils\ConnectionUtil
## addConnection
```php
public function addConnection(int $fd, array $handle): bool
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| fd | int | |
| handle | array | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| bool | |
## setConnection
```php
public function setConnection(int $fd, array $handle): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| fd | int | |
| handle | array | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## removeConnection
```php
public function removeConnection(int $fd): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| fd | int | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |