DefaultClient

Extends \Pubnub\Clients\Client

Class DefaultClient

Requests are executed immediately

package

Pubnub\Requests

Methods

__construct

__construct( $origin,  $ssl,  $proxy,  $pem) 
inherited

Arguments

$origin

$ssl

$proxy

$pem

add

add(array $path, array $query) 
inherited

Arguments

$path

array

$query

array

bootstrapOptions

bootstrapOptions() 
inherited

Return array of curl handlers for all requests

chs() : array
inherited

Response

array

Encode

encode(string $part) : string
inherited static

Arguments

$part

string

of url directories.

Response

string

encoded string.

Encode Char

encodeChar(string $char) : string
inherited static

Arguments

$char

string

val.

Response

string

encoded char.

execute

execute() 

glue

glue(array $query) 
inherited static

Arguments

$query

array

Properties

SSL enabled

ssl : boolean
inherited
var

SSL enabled

Type(s)

boolean

proxy address

proxy : string
inherited
var

proxy address

Type(s)

string

pem path

pem_path : string
inherited
var

pem path

Type(s)

string

pubnub sdk version

pnsdk : string
inherited
var

pubnub sdk version

Type(s)

string

origin

origin : string
inherited
var

origin

Type(s)

string

of requests

requests : array
inherited
var

of requests

Type(s)

array