Documentation

ConnectContext
in package

FinalYes

Table of Contents

Properties

$bindTo  : string|null
$connectTimeout  : float
$tcpNoDelay  : bool
$tlsContext  : ClientTlsContext|null
$typeRestriction  : int|null

Methods

getBindTo()  : string|null
getConnectTimeout()  : float
getDnsTypeRestriction()  : int|null
getTlsContext()  : ClientTlsContext|null
hasTcpNoDelay()  : bool
toStreamContextArray()  : array<string|int, mixed>
withBindTo()  : self
withConnectTimeout()  : self
withDnsTypeRestriction()  : self
withoutBindTo()  : self
withoutDnsTypeRestriction()  : self
withoutTcpNoDelay()  : self
withoutTlsContext()  : self
withTcpNoDelay()  : self
withTlsContext()  : self

Properties

Methods

getBindTo()

public getBindTo() : string|null
Return values
string|null

getConnectTimeout()

public getConnectTimeout() : float
Return values
float

getDnsTypeRestriction()

public getDnsTypeRestriction() : int|null
Return values
int|null

hasTcpNoDelay()

public hasTcpNoDelay() : bool
Return values
bool

toStreamContextArray()

public toStreamContextArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

withBindTo()

public withBindTo(string|null $bindTo) : self
Parameters
$bindTo : string|null
Return values
self

withConnectTimeout()

public withConnectTimeout(float $timeout) : self
Parameters
$timeout : float
Return values
self

withDnsTypeRestriction()

public withDnsTypeRestriction(int|null $type) : self
Parameters
$type : int|null
Return values
self

withoutBindTo()

public withoutBindTo() : self
Return values
self

withoutDnsTypeRestriction()

public withoutDnsTypeRestriction() : self
Return values
self

withoutTcpNoDelay()

public withoutTcpNoDelay() : self
Return values
self

withoutTlsContext()

public withoutTlsContext() : self
Return values
self

withTcpNoDelay()

public withTcpNoDelay() : self
Return values
self

        
On this page

Search results