Export (0) Print
Expand All

PersistentResponse Class

.NET Framework 4.5

Represents a response to a connection.

System.Object
  Microsoft.AspNet.SignalR.Transports.PersistentResponse

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public sealed class PersistentResponse : IJsonWritable

The PersistentResponse type exposes the following members.

  NameDescription
Public methodPersistentResponse()Creates a new instance of PersistentResponse.
Public methodPersistentResponse(Func<Message, Boolean>)M:Microsoft.AspNet.SignalR.Transports.PersistentResponse.#ctor(System.Func{Microsoft.AspNet.SignalR.Messaging.Message,System.Boolean})
Top

  NameDescription
Public propertyAbortedGets or sets a value that indicates whether the connection was forcibly closed.
Public propertyDisconnectGets or sets a value that indicates whether the connection receives a disconnect command.
Public propertyExcludeFilterGets or sets a filter that determines whether messages should be written to the client.
Public propertyGroupsToken Signed token representing the list of groups. Updates on change.
Public propertyLongPollDelayGets or sets the time the long polling client should wait before reestablishing a connection if no data is received.
Public propertyMessageIdGets or sets the id of the last message in the connection received.
Public propertyMessagesGets or sets the list of messages to be sent to the receiving connection.
Public propertyTimedOutGets or sets a value that indicates whether the connection timed out.
Public propertyTotalCountGets or sets the total count of the messages sent the receiving connection.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIJsonWritable.WriteJsonSerializes only the necessary components of the PersistentResponse to JSON using Json.NET’s JsonTextWriter to improve performance.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft