Bitrix API

ExternalSender extends ExternalSender

Table of Contents

Methods

__construct()  : mixed
callExternalMethod()  : HttpRequestResult
setApiKey()  : self

Methods

__construct()

public __construct(string|null $apiKey, string $apiEndpoint[, int $socketTimeout = 10 ][, int $streamTimeout = 30 ]) : mixed
Parameters
$apiKey : string|null
$apiEndpoint : string
$socketTimeout : int = 10
$streamTimeout : int = 30

callExternalMethod()

public callExternalMethod(string $method[, array<string|int, mixed>|null $requestParams = null ][, string $httpMethod = '' ]) : HttpRequestResult
Parameters
$method : string
$requestParams : array<string|int, mixed>|null = null
$httpMethod : string = ''
Return values
HttpRequestResult

setApiKey()

public setApiKey(string $apiKey) : self
Parameters
$apiKey : string
Return values
self

        
On this page

Search results