Zend\Feed\PubSubHubbub\Subscriber::setPreferredVerificationMode
Set preferred verification mode (sync or async). By default, this Subscriber prefers synchronous verification, but does support asynchronous if that's the Hub Server's utilised mode.
Zend\Feed\Pubsubhubbub\Subscriber will always send both modes, whose order of occurrence in the parameter list determines this preference.
Signature
public function setPreferredVerificationMode(string
$mode )
Parameters
$mode
— string- Should be 'sync' or 'async'
Returns
- Subscriber