\Threema\MsgApiConnectionSettings

Summary

Methods
Properties
Constants
__construct()
getThreemaId()
getSecret()
getHost()
getTlsOptions()
getTlsOption()
No public properties found
tlsOptionForceHttps
tlsOptionVersion
tlsOptionCipher
No protected methods found
No protected properties found
N/A
No private methods found
$threemaId
$secret
$host
$tlsOptions
N/A

Constants

tlsOptionForceHttps

tlsOptionForceHttps

tlsOptionVersion

tlsOptionVersion

tlsOptionCipher

tlsOptionCipher

Properties

$threemaId

$threemaId : string

Type

string

$secret

$secret : string

Type

string

$host

$host : string

Type

string

$tlsOptions

$tlsOptions : array

Type

array

Methods

__construct()

__construct(string  $threemaId, string  $secret, string|null  $host = null, array|null  $tlsOptions = null) 

Parameters

string $threemaId

valid threema id (8chars)

string $secret

secret

string|null $host

server url

array|null $tlsOptions

advanced TLS options

getThreemaId()

getThreemaId() : string

Returns

string

getSecret()

getSecret() : string

Returns

string

getHost()

getHost() : string

Returns

string

getTlsOptions()

getTlsOptions() : array

Returns

array

getTlsOption()

getTlsOption(  $option,   $default = null) : string

Parameters

$option
$default

Returns

string