BindContext
in package
FinalYes
Table of Contents
Properties
- $backlog : positive-int
- $bindTo : string|null
- $broadcast : bool
- $reusePort : bool
- $tcpNoDelay : bool
- $tlsContext : ServerTlsContext|null
Methods
- getBacklog() : int
- getBindTo() : string|null
- getTlsContext() : ServerTlsContext|null
- hasBroadcast() : bool
- hasReusePort() : bool
- hasTcpNoDelay() : bool
- toStreamContextArray() : array<string|int, mixed>
- withBacklog() : self
- withBindTo() : self
- withBroadcast() : self
- withoutBindTo() : self
- withoutBroadcast() : self
- withoutReusePort() : self
- withoutTcpNoDelay() : self
- withoutTlsContext() : self
- withReusePort() : self
- withTcpNoDelay() : self
- withTlsContext() : self
Properties
$backlog
private
positive-int
$backlog
= 128
$bindTo
private
string|null
$bindTo
= null
$broadcast
private
bool
$broadcast
= false
$reusePort
private
bool
$reusePort
= false
$tcpNoDelay
private
bool
$tcpNoDelay
= false
$tlsContext
private
ServerTlsContext|null
$tlsContext
= null
Methods
getBacklog()
public
getBacklog() : int
Return values
intgetBindTo()
public
getBindTo() : string|null
Return values
string|nullgetTlsContext()
public
getTlsContext() : ServerTlsContext|null
Return values
ServerTlsContext|nullhasBroadcast()
public
hasBroadcast() : bool
Return values
boolhasReusePort()
public
hasReusePort() : bool
Return values
boolhasTcpNoDelay()
public
hasTcpNoDelay() : bool
Return values
booltoStreamContextArray()
public
toStreamContextArray() : array<string|int, mixed>
Return values
array<string|int, mixed>withBacklog()
public
withBacklog(positive-int $backlog) : self
Parameters
- $backlog : positive-int
Return values
selfwithBindTo()
public
withBindTo(string|null $bindTo) : self
Parameters
- $bindTo : string|null
Return values
selfwithBroadcast()
public
withBroadcast() : self
Return values
selfwithoutBindTo()
public
withoutBindTo() : self
Return values
selfwithoutBroadcast()
public
withoutBroadcast() : self
Return values
selfwithoutReusePort()
public
withoutReusePort() : self
Return values
selfwithoutTcpNoDelay()
public
withoutTcpNoDelay() : self
Return values
selfwithoutTlsContext()
public
withoutTlsContext() : self
Return values
selfwithReusePort()
public
withReusePort() : self
Return values
selfwithTcpNoDelay()
public
withTcpNoDelay() : self
Return values
selfwithTlsContext()
public
withTlsContext(ServerTlsContext|null $tlsContext) : self
Parameters
- $tlsContext : ServerTlsContext|null