C# Class Microsoft.AspNet.SignalR.Transports.PersistentResponse

Represents a response to a connection.
Inheritance: IJsonWritable
Show file Open project: SignalR/SignalR Class Usage Examples

Private Properties

Property Type Description
IJsonWritable void
WriteMessages void

Public Methods

Method Description
PersistentResponse ( ) : System
PersistentResponse ( bool>.Func exclude, Action writeCursor ) : System

Creates a new instance of PersistentResponse.

Private Methods

Method Description
IJsonWritable ( TextWriter writer ) : void

Serializes only the necessary components of the PersistentResponse to JSON using Json.NET's JsonTextWriter to improve performance.

WriteMessages ( TextWriter writer, JsonTextWriter jsonWriter ) : void

Method Details

PersistentResponse() public method

public PersistentResponse ( ) : System
return System

PersistentResponse() public method

Creates a new instance of PersistentResponse.
public PersistentResponse ( bool>.Func exclude, Action writeCursor ) : System
exclude bool>.Func A filter that determines whether messages should be written to the client.
writeCursor Action The cursor writer.
return System