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

Represents a response to a connection.
Inheritance: IJsonWritable
Mostrar archivo Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript 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