Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
ExternalSender.php
1
<?php
2
3
namespace
Bitrix\MessageService\Providers\Edna
;
4
5
use
Bitrix\MessageService\Sender\Result\HttpRequestResult
;
6
use
Bitrix\MessageService\Providers\ExternalSender
as IExternalSender;
7
8
abstract
class
ExternalSender
implements
IExternalSender
9
{
10
protected
const
USER_AGENT
=
'Bitrix24'
;
11
protected
const
CONTENT_TYPE
=
'application/json'
;
12
protected
const
CHARSET
=
'UTF-8'
;
13
14
protected
const
WAIT_RESPONSE
=
true
;
15
16
protected
string
$apiKey
;
17
protected
string
$apiEndpoint
;
18
19
protected
int
$socketTimeout
;
20
protected
int
$streamTimeout
;
21
22
public
function
setApiKey
(
string
$apiKey
) : self
23
{
24
$this->apiKey =
$apiKey
;
25
26
return
$this;
27
}
28
}
Bitrix\MessageService\Providers\Edna\ExternalSender
Definition
ExternalSender.php:9
Bitrix\MessageService\Providers\Edna\ExternalSender\setApiKey
setApiKey(string $apiKey)
Definition
ExternalSender.php:22
Bitrix\MessageService\Providers\Edna\ExternalSender\$apiKey
string $apiKey
Definition
ExternalSender.php:16
Bitrix\MessageService\Providers\Edna\ExternalSender\$socketTimeout
int $socketTimeout
Definition
ExternalSender.php:19
Bitrix\MessageService\Providers\Edna\ExternalSender\CHARSET
const CHARSET
Definition
ExternalSender.php:12
Bitrix\MessageService\Providers\Edna\ExternalSender\$apiEndpoint
string $apiEndpoint
Definition
ExternalSender.php:17
Bitrix\MessageService\Providers\Edna\ExternalSender\$streamTimeout
int $streamTimeout
Definition
ExternalSender.php:20
Bitrix\MessageService\Providers\Edna\ExternalSender\USER_AGENT
const USER_AGENT
Definition
ExternalSender.php:10
Bitrix\MessageService\Providers\Edna\ExternalSender\CONTENT_TYPE
const CONTENT_TYPE
Definition
ExternalSender.php:11
Bitrix\MessageService\Providers\Edna\ExternalSender\WAIT_RESPONSE
const WAIT_RESPONSE
Definition
ExternalSender.php:14
Bitrix\MessageService\Sender\Result\HttpRequestResult
Definition
httprequestresult.php:8
Bitrix\MessageService\Providers\ExternalSender
Definition
ExternalSender.php:8
Bitrix\MessageService\Providers\Edna
modules
messageservice
lib
Providers
Edna
ExternalSender.php
Создано системой
1.10.0