\Threema\MsgApi\Commands\ResultsFetchPublicKeyResult

Summary

Methods
Properties
Constants
__construct()
isSuccess()
getErrorCode()
getErrorMessage()
getRawResponse()
getPublicKey()
No public properties found
No constants found
getErrorMessageByErrorCode()
processResponse()
No protected properties found
N/A
No private methods found
$httpCode
$response
$publicKey
N/A

Properties

$httpCode

$httpCode : integer

Type

integer

$response

$response : string

Type

string

$publicKey

$publicKey : string

Type

string

Methods

__construct()

__construct(integer  $httpCode,   $response) 

Parameters

integer $httpCode
$response

isSuccess()

isSuccess() 

getErrorCode()

getErrorCode() : null|integer

Returns

null|integer

getErrorMessage()

getErrorMessage() : string

Returns

string

getRawResponse()

getRawResponse() : string

Returns

string

getPublicKey()

getPublicKey() : string

Returns

string

getErrorMessageByErrorCode()

getErrorMessageByErrorCode(integer  $httpCode) : string

Parameters

integer $httpCode

Returns

string

processResponse()

processResponse(string  $response) 

Parameters

string $response