Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
rcrowe
Hippy
Transport
TransportInterface
__construct
rcrowe\Hippy\Transport\TransportInterface::__construct PHP Method
TransportInterface Interface Documentation
Show file
Open project: rcrowe/hippy
__construct()
public
method
Create a new instance.
public
__construct
(
string
$token
,
string
|
integer
$room
,
string
$from
,
string
$endpoint
)
$token
string
API token.
$room
string
|
integer
Room to send message to.
$from
string
Who the message is from.
$endpoint
string
API host.
public function __construct($token, $room, $from, $endpoint);
TransportInterface
__construct
getEndpoint
getFrom
getHeaders
getRoom
getToken
send
setEndpoint
setFrom
setHeaders
setRoom
setToken