HumHub Documentation (unofficial)

AbstractApiTransport extends AbstractHttpTransport
in package

AbstractYes
Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$client  : mixed
$host  : mixed
$port  : mixed
$dispatcher  : mixed
$lastSent  : mixed
$logger  : mixed
$rate  : mixed

Methods

__construct()  : mixed
send()  : SentMessage|null
setHost()  : $this
setMaxPerSecond()  : $this
Sets the maximum number of messages to send per second (0 to disable).
setPort()  : $this
doSend()  : void
doSendApi()  : ResponseInterface
doSendHttp()  : ResponseInterface
getLogger()  : LoggerInterface
getRecipients()  : array<string|int, mixed>
stringifyAddresses()  : array<string|int, string>
checkThrottling()  : mixed

Properties

Methods

setHost()

public setHost(string|null $host) : $this
Parameters
$host : string|null
Return values
$this

setMaxPerSecond()

Sets the maximum number of messages to send per second (0 to disable).

public setMaxPerSecond(float $rate) : $this
Parameters
$rate : float
Return values
$this

setPort()

public setPort(int|null $port) : $this
Parameters
$port : int|null
Return values
$this

stringifyAddresses()

protected stringifyAddresses(array<string|int, Address$addresses) : array<string|int, string>
Parameters
$addresses : array<string|int, Address>
Return values
array<string|int, string>

        
On this page

Search results