Method | Description | |
---|---|---|
__construct ( array $config = [] ) | Peer constructor. | |
getAllURLs ( string $suffix = '', boolean $doNotShuffle = false ) : array | Get all URLs | |
getPublicKey ( ) : |
Get the Ed25519 public key for this peer | |
hasOnionAddress ( ) : boolean | Does this domain have a .onion address? |
public __construct ( array $config = [] ) | ||
$config | array |
public getPublicKey ( ) : |
||
return |
public hasOnionAddress ( ) : boolean | ||
return | boolean |