generated from Nodarx/template
refactor: use split socket location class
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -150,12 +150,11 @@ class ConnectCommand extends Command
|
||||
// ── Build service object ────────────────────────────────────────────
|
||||
|
||||
$location = new ServiceLocation(
|
||||
host: $host,
|
||||
port: $port > 0 ? $port : 993,
|
||||
encryption: $encryption,
|
||||
verifyPeer: !$noVerify,
|
||||
verifyPeerName: !$noVerify,
|
||||
allowSelfSigned: $noVerify,
|
||||
inboundHost: $host,
|
||||
inboundPort: $port > 0 ? $port : 993,
|
||||
inboundEncryption: $encryption,
|
||||
inboundVerifyPeer: !$noVerify,
|
||||
inboundVerifyHost: !$noVerify,
|
||||
);
|
||||
|
||||
$identity = (new ServiceIdentityBasic())->jsonDeserialize([
|
||||
|
||||
Reference in New Issue
Block a user