SDK
in package
Table of Contents
Constants
- SERVER_PRODUCTION = 'https://platform.ringcentral.com'
- VERSION = '2.3.6'
Properties
Methods
- __construct() : mixed
- SDK constructor.
- createMultipartBuilder() : MultipartBuilder
- createSubscription() : PubnubSubscription|Subscription
- disconnectWebSocket() : mixed
- initWebSocket() : WebSocket
- platform() : Platform
- websocket() : mixed
Constants
SERVER_PRODUCTION
public
mixed
SERVER_PRODUCTION
= 'https://platform.ringcentral.com'
VERSION
public
mixed
VERSION
= '2.3.6'
Properties
$_client
protected
Client
$_client
$_guzzle
protected
Client
$_guzzle
$_platform
protected
Platform
$_platform
$_websocket
protected
WebSocket
$_websocket
Methods
__construct()
SDK constructor.
public
__construct(string $clientId, string $clientSecret, string $server[, string $appName = '' ][, string $appVersion = '' ][, Client $guzzle = null ]) : mixed
Parameters
- $clientId : string
- $clientSecret : string
- $server : string
- $appName : string = ''
- $appVersion : string = ''
- $guzzle : Client = null
createMultipartBuilder()
public
createMultipartBuilder() : MultipartBuilder
Return values
MultipartBuildercreateSubscription()
public
createSubscription([string $type = 'WebSocket' ]) : PubnubSubscription|Subscription
Parameters
- $type : string = 'WebSocket'
Return values
PubnubSubscription|SubscriptiondisconnectWebSocket()
public
disconnectWebSocket() : mixed
initWebSocket()
public
initWebSocket() : WebSocket
Return values
WebSocketplatform()
public
platform() : Platform
Return values
Platformwebsocket()
public
websocket() : mixed