#### [Abblix\.SharedSignals](https://www.abblix.com/en/docs/api/abblix-sharedsignals 'index')
### [Abblix\.SharedSignals\.Receiver\.SecurityEvent](https://www.abblix.com/en/docs/api/abblix-sharedsignals/Abblix.SharedSignals.Receiver.SecurityEvent 'Abblix\.SharedSignals\.Receiver\.SecurityEvent')

## PollClientExtensions Class

Polls a stream by its delivery configuration rather than by a bare URL\.

```csharp
public static class PollClientExtensions
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → PollClientExtensions

### Remarks
The step from a Shared Signals stream to the endpoint RFC 8936 speaks to\. It stays on this
side because the delivery model is this framework's: the poll client below knows a URL, and
which URL a stream has is a question only a stream configuration answers\.
### Methods

## PollClientExtensions\.PollAsync\(this PollClient, PollDeliveryMethod, PollRequest, CancellationToken\) Method {#Abblix.SharedSignals.Receiver.SecurityEvent.PollClientExtensions.PollAsync(thisAbblix.SecurityEvents.Delivery.PollClient,Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod,Abblix.SecurityEvents.Delivery.PollRequest,System.Threading.CancellationToken)}

Polls the endpoint of a stream's poll delivery for pending Security Event Tokens\.

```csharp
public static System.Threading.Tasks.Task<Abblix.SecurityEvents.Delivery.PollResponse> PollAsync(this Abblix.SecurityEvents.Delivery.PollClient client, Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod delivery, Abblix.SecurityEvents.Delivery.PollRequest request, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
```
#### Parameters

###### `client` [Abblix\.SecurityEvents\.Delivery\.PollClient](https://learn.microsoft.com/en-us/dotnet/api/abblix.securityevents.delivery.pollclient 'Abblix\.SecurityEvents\.Delivery\.PollClient') {#Abblix.SharedSignals.Receiver.SecurityEvent.PollClientExtensions.PollAsync(thisAbblix.SecurityEvents.Delivery.PollClient,Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod,Abblix.SecurityEvents.Delivery.PollRequest,System.Threading.CancellationToken).client}

The transport\.

###### `delivery` [PollDeliveryMethod](https://www.abblix.com/en/docs/api/abblix-sharedsignals/Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod 'Abblix\.SharedSignals\.Model\.Delivery\.PollDeliveryMethod') {#Abblix.SharedSignals.Receiver.SecurityEvent.PollClientExtensions.PollAsync(thisAbblix.SecurityEvents.Delivery.PollClient,Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod,Abblix.SecurityEvents.Delivery.PollRequest,System.Threading.CancellationToken).delivery}

The stream's poll delivery, whose endpoint URL the transmitter
            supplied at stream creation \(SSF 1\.0 Sections 6\.1\.2, 8\.1\.1\.1\)\.

###### `request` [Abblix\.SecurityEvents\.Delivery\.PollRequest](https://learn.microsoft.com/en-us/dotnet/api/abblix.securityevents.delivery.pollrequest 'Abblix\.SecurityEvents\.Delivery\.PollRequest') {#Abblix.SharedSignals.Receiver.SecurityEvent.PollClientExtensions.PollAsync(thisAbblix.SecurityEvents.Delivery.PollClient,Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod,Abblix.SecurityEvents.Delivery.PollRequest,System.Threading.CancellationToken).request}

What to acknowledge and what to return; the empty request is a
            valid default poll \(RFC 8936 Section 2\.2\)\.

###### `cancellationToken` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken') {#Abblix.SharedSignals.Receiver.SecurityEvent.PollClientExtensions.PollAsync(thisAbblix.SecurityEvents.Delivery.PollClient,Abblix.SharedSignals.Model.Delivery.PollDeliveryMethod,Abblix.SecurityEvents.Delivery.PollRequest,System.Threading.CancellationToken).cancellationToken}

Cancels the poll \- the way a caller bounds a long poll
            the transmitter holds open\.

#### Returns
[System\.Threading\.Tasks\.Task&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')[Abblix\.SecurityEvents\.Delivery\.PollResponse](https://learn.microsoft.com/en-us/dotnet/api/abblix.securityevents.delivery.pollresponse 'Abblix\.SecurityEvents\.Delivery\.PollResponse')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')
