2020-10-15 18:42:54 +02:00
|
|
|
---
|
|
|
|
title: danog\MadelineProto\MTProtoSession\ResponseHandler: Manages responses.
|
|
|
|
description:
|
|
|
|
|
|
|
|
---
|
|
|
|
# `danog\MadelineProto\MTProtoSession\ResponseHandler`
|
|
|
|
[Back to index](../../../index.md)
|
|
|
|
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
|
|
|
|
|
|
Manages responses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Method list:
|
|
|
|
* `handleReject(array $request, \Throwable $data): void`
|
|
|
|
* `handleResponse(): void`
|
|
|
|
|
|
|
|
## Methods:
|
|
|
|
### `handleReject(array $request, \Throwable $data): void`
|
|
|
|
|
|
|
|
Reject request with exception.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$request`: `array` Request
|
|
|
|
* `$data`: `\Throwable` Exception
|
|
|
|
|
|
|
|
|
|
|
|
#### See also:
|
|
|
|
* `\Throwable`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `handleResponse(): void`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-15 19:11:10 +02:00
|
|
|
---
|
|
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|