danog\MadelineProto\Settings\RPC
Author: Daniil Gentili daniil@daniil.it
RPC settings.
Method list:
getRpcDropTimeout(): int
setRpcDropTimeout(int $rpcDropTimeout): self
getRpcResendTimeout(): int
setRpcResendTimeout(int $rpcResendTimeout): self
getFloodTimeout(): int
setFloodTimeout(int $floodTimeout): self
getGzipEncodeIfGt(): int
setGzipEncodeIfGt(int $gzipEncodeIfGt): self
Methods:
getRpcDropTimeout(): int
Get RPC drop timeout.
setRpcDropTimeout(int $rpcDropTimeout): self
Set RPC drop timeout.
Parameters:
$rpcDropTimeout
:int
RPC timeout
getRpcResendTimeout(): int
Get RPC resend timeout.
setRpcResendTimeout(int $rpcResendTimeout): self
Set RPC resend timeout.
Parameters:
$rpcResendTimeout
:int
RPC timeout.
getFloodTimeout(): int
Get flood timeout: if FLOODWAIT time is bigger than this, throw exception instead of waiting asynchronously.
setFloodTimeout(int $floodTimeout): self
Set flood timeout: if FLOODWAIT time is bigger than this, throw exception instead of waiting asynchronously.
Must be bigger than 5.
Parameters:
$floodTimeout
:int
Flood timeout: if FLOODWAIT time is bigger than this, throw exception instead of waiting asynchronously
getGzipEncodeIfGt(): int
Get encode payload with GZIP if bigger than.
setGzipEncodeIfGt(int $gzipEncodeIfGt): self
Set encode payload with GZIP if bigger than.
Parameters:
$gzipEncodeIfGt
:int
Encode payload with GZIP if bigger than
Generated by danog/phpdoc