# danog\MadelineProto\Settings\RPC

Back to index

Author: Daniil Gentili daniil@daniil.it

RPC settings.

# Method list:

# Methods:

# getRpcTimeout(): int

Get RPC timeout.

# setRpcTimeout(int $rpcTimeout): self

Set RPC timeout.

Parameters:

# getFloodTimeout(): int

Get flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously.

# setFloodTimeout(int $floodTimeout): self

Set flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously.

Parameters:

# getLimitIncoming(): int

Get maximum number of messages to be stored in the incoming queue.

# setLimitIncoming(int $limitIncoming): self

Set maximum number of messages to be stored in the incoming queue.

Parameters:

# getLimitOutgoing(): int

Get maximum number of messages to be stored in the outgoing queue.

# setLimitOutgoing(int $limitOutgoing): self

Set maximum number of messages to be stored in the outgoing queue.

Parameters:

# getLimitCallQueue(): int

Get maximum number of messages to consider when using call queues.

# setLimitCallQueue(int $limitCallQueue): self

Set maximum number of messages to consider when using call queues.

Parameters:

# getGzipEncodeIfGt(): int

Get encode payload with GZIP if bigger than.

# setGzipEncodeIfGt(int $gzipEncodeIfGt): self

Set encode payload with GZIP if bigger than.

Parameters:


Generated by danog/phpdoc

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.