mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-30 04:39:42 +01:00
Bump docs
This commit is contained in:
parent
bc2bd210ec
commit
7fc41dd573
@ -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)
|
||||
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user