Files
zhamao-framework/docs/api/ZM/Context/Context.md

58 lines
895 B
Markdown
Raw Normal View History

2022-03-27 16:42:36 +08:00
# ZM\Context\Context
2022-08-22 07:39:44 +00:00
## getRequest
2022-03-27 16:42:36 +08:00
```php
2022-08-22 07:39:44 +00:00
public function getRequest(): Psr\Http\Message\ServerRequestInterface
2022-03-27 16:42:36 +08:00
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
2022-08-22 07:39:44 +00:00
| Psr\Http\Message\ServerRequestInterface | |
2022-03-27 16:42:36 +08:00
2022-08-22 07:39:44 +00:00
## getHttpRequestEvent
2022-03-27 16:42:36 +08:00
```php
2022-08-22 07:39:44 +00:00
public function getHttpRequestEvent(): OneBot\Driver\Event\Http\HttpRequestEvent
2022-03-27 16:42:36 +08:00
```
### 描述
作者很懒,什么也没有说
### 返回
2022-08-22 07:39:44 +00:00
| 类型 | 描述 |
| ---- | ----------- |
| OneBot\Driver\Event\Http\HttpRequestEvent | |
## withResponse
```php
public function withResponse(Psr\Http\Message\ResponseInterface $response): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| response | Psr\Http\Message\ResponseInterface | |
### 返回
2022-03-27 16:42:36 +08:00
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |