Bump docs

This commit is contained in:
Daniil Gentili 2024-05-15 21:10:07 +02:00
parent bc2bd210ec
commit 7fc41dd573
3 changed files with 31 additions and 2 deletions

View File

@ -19,6 +19,8 @@ Prometheus settings.
## Method list:
* [`setEnablePrometheus(bool $enable): self`](#setEnablePrometheus)
* [`getEnablePrometheus(): bool`](#getEnablePrometheus)
* [`setPrometheusEndpoint(?\Amp\Socket\SocketAddress $endpoint): self`](#setPrometheusEndpoint)
* [`getPrometheusEndpoint(): ?\Amp\Socket\SocketAddress`](#getPrometheusEndpoint)
## Methods:
### <a name="setEnablePrometheus"></a> `setEnablePrometheus(bool $enable): self`
@ -38,5 +40,32 @@ Whether additional prometheus stat reporting is enabled for this session.
### <a name="setPrometheusEndpoint"></a> `setPrometheusEndpoint(?\Amp\Socket\SocketAddress $endpoint): self`
Whether to expose prometheus metrics on the specified endpoint via HTTP.
Parameters:
* `$endpoint`: `?\Amp\Socket\SocketAddress`
#### See also:
* `\Amp\Socket\SocketAddress`
### <a name="getPrometheusEndpoint"></a> `getPrometheusEndpoint(): ?\Amp\Socket\SocketAddress`
Whether to expose prometheus metrics on the specified endpoint via HTTP.
#### See also:
* `\Amp\Socket\SocketAddress`
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)

View File

@ -192,4 +192,4 @@ if (isset($_GET['waitQrCodeOrLogin']) || isset($_GET['getQrCode'])) {
}
```
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>

View File

@ -72,4 +72,4 @@ $secret_chat = $MadelineProto->getSecretChat($chat);
This method gets info about a certain chat.
<a href="https://docs.madelineproto.xyz/docs/PROXY.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/PROXY.html">Next section</a>