Refactor session initialization and host validation logic
This commit is contained in:
parent
738f8a455c
commit
c380556255
5 changed files with 138 additions and 44 deletions
|
@ -23,6 +23,7 @@
|
|||
*
|
||||
* @param string|PeerAddress $peerAddress The address of the peer to connect to.
|
||||
* @param ExportedSession|null $exportedSession Optional. The exported session to use for communication.
|
||||
* @param array $options Optional. Additional options to pass to the client.
|
||||
* @throws CryptographyException If the public key is invalid.
|
||||
* @throws ResolutionException If the domain cannot be resolved.
|
||||
* @throws RpcException If the RPC request fails.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue