PollingRequestHandler Class
.NET Framework 4.5
Namespace:
Microsoft.AspNet.SignalR.Client.Transports
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Top
Top
Top
Top
Represents a polling request handler.
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
The PollingRequestHandler type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PollingRequestHandler | Initializes a new instance of the PollingRequestHandler class. |
| Name | Description | |
|---|---|---|
![]() | OnAfterPoll | Gets or sets a function that triggers before a new polling request is attempted. Passes in an exception if the Poll errored, nullptr otherwise. Expects the return as a task in order to allow modification of timing for subsequent polls. |
![]() | ResolveUrl | Gets or sets a function used to generate the URL that is posted to for the poll. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Start | Starts the polling request handler. |
![]() | Stop | Fully stops the polling request handler. |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | OnAbort | Occurs when the current poll request was aborted, passing in the soon to be aborted request. |
![]() | OnError | Occurs and passes the exception when the poll errors. |
![]() | OnMessage | Sends the string based message to the callback. |
![]() | OnPolling | Occurs when the polling request is in flight. |
![]() | PrepareRequest | Allows modification of the IRequest parameter before using it in a poll. |
Show:
