PersistentResponse Class
Visual Studio 2010
.NET Framework 4
Namespace:
Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Top
Top
Top
Represents a response to a connection.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
The PersistentResponse type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PersistentResponse() | Creates a new instance of PersistentResponse. |
![]() | PersistentResponse(Func<Message, Boolean>) | Creates a new instance of PersistentResponse. |
| Name | Description | |
|---|---|---|
![]() | Aborted | Gets or sets a value that indicates whether the connection was forcibly closed. |
![]() | Disconnect | Gets or sets a value that indicates whether the connection receives a disconnect command. |
![]() | ExcludeFilter | Gets or sets a filter that determines whether messages should be written to the client. |
![]() | GroupsToken | Signed token representing the list of groups. Updates on change. |
![]() | LongPollDelay | Gets or sets the time the long polling client should wait before reestablishing a connection if no data is received. |
![]() | MessageId | Gets or sets the id of the last message in the connection received. |
![]() | Messages | Gets or sets the list of messages to be sent to the receiving connection. |
![]() | TimedOut | Gets or sets a value that indicates whether the connection timed out. |
![]() | TotalCount | Gets or sets the total count of the messages sent the receiving connection. |
| Name | Description | |
|---|---|---|
![]() ![]() | IJsonWritable::WriteJson | Serializes only the necessary components of the PersistentResponse to JSON using Json.NET’s JsonTextWriter to improve performance. |
Show:
