danog\MadelineProto\Settings\RPC
Author: Daniil Gentili daniil@daniil.it
RPC settings.
Method list:
getRpcDropTimeout(): intsetRpcDropTimeout(int $rpcDropTimeout): selfgetRpcResendTimeout(): intsetRpcResendTimeout(int $rpcResendTimeout): selfgetFloodTimeout(): intsetFloodTimeout(int $floodTimeout): selfgetGzipEncodeIfGt(): intsetGzipEncodeIfGt(int $gzipEncodeIfGt): self
Methods:
getRpcDropTimeout(): int
Get RPC drop timeout.
setRpcDropTimeout(int $rpcDropTimeout): self
Set RPC drop timeout.
Parameters:
$rpcDropTimeout:intRPC timeout
getRpcResendTimeout(): int
Get RPC resend timeout.
setRpcResendTimeout(int $rpcResendTimeout): self
Set RPC resend timeout.
Parameters:
$rpcResendTimeout:intRPC 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:intFlood 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:intEncode payload with GZIP if bigger than
Generated by danog/phpdoc