mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 13:14:52 +08:00
58 lines
895 B
Markdown
58 lines
895 B
Markdown
# ZM\Context\Context
|
|
|
|
## getRequest
|
|
|
|
```php
|
|
public function getRequest(): Psr\Http\Message\ServerRequestInterface
|
|
```
|
|
|
|
### 描述
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
### 返回
|
|
|
|
| 类型 | 描述 |
|
|
| ---- | ----------- |
|
|
| Psr\Http\Message\ServerRequestInterface | |
|
|
|
|
|
|
## getHttpRequestEvent
|
|
|
|
```php
|
|
public function getHttpRequestEvent(): OneBot\Driver\Event\Http\HttpRequestEvent
|
|
```
|
|
|
|
### 描述
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
### 返回
|
|
|
|
| 类型 | 描述 |
|
|
| ---- | ----------- |
|
|
| OneBot\Driver\Event\Http\HttpRequestEvent | |
|
|
|
|
|
|
## withResponse
|
|
|
|
```php
|
|
public function withResponse(Psr\Http\Message\ResponseInterface $response): mixed
|
|
```
|
|
|
|
### 描述
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
### 参数
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
| -------- | ---- | ----------- |
|
|
| response | Psr\Http\Message\ResponseInterface | |
|
|
|
|
### 返回
|
|
|
|
| 类型 | 描述 |
|
|
| ---- | ----------- |
|
|
| mixed | |
|