SignalR Provides access to server configuration. Gets or sets a representing the amount of time to leave a connection open before timing out. Gets or sets a representing the amount of time to wait after a connection goes away before raising the disconnect event. Gets or sets a representing the interval for checking the state of a connection. Gets or sets a representing the amount of time to wait before sending a keep alive packet over an idle connection. Set to null to disable keep alive. Default implementation. Provides access to hubs and persistent connections references. Returns a for the specified . Type of the a for the specified Returns a for the specified hub. Name of the hub a for the specified hub Returns a for the . Type of the A for the . Initializes a new instance of the class. The . Returns a for the . Type of the A for the . Returns a for the . Type of the A for the . Returns a for the specified . Type of the a for the specified Returns a for the specified hub. Name of the hub a for the specified hub The host should set this if they need to enable debug mode The host should set this is web sockets can be supported The host should set this if the web socket url is different Represents a SignalR request Accepts an websocket request using the specified user function. The callback that fires when the websocket is ready. Gets the url for this request. Gets the querystring for this request. Gets the headers for this request. Gets the server variables for this request. Gets the form for this request. Gets the cookies for this request. Gets security information for the current HTTP request. Represents a connection to the client. Writes unbuffered data that is immediately available to the client connection. (e.g. chunked over http). The data to write to the connection. A task that represents when the write operation is complete. Closes the connection to a client with optional data. The data to write to the connection. A task that represents when the connection is closed. Gets a value that determines if this client is still connected. Gets or sets the content type of the response. Represents a web socket. Sends data over the websocket. The value to send. A that represents the send is complete. Invoked when data is sent over the websocket Invoked when the websocket closes Invoked when there is an error Extension methods for . Writes unbuffered data that is immediately available to the client connection. (e.g. chunked over http). The . The data to write to the connection. A task that represents when the write operation is complete. Closes the connection to a client with optional data. The . The data to write to the connection. A task that represents when the connection is closed. Provides access to information about a . Gets a dynamic object that represents all clients connected to the hub. Gets the the hub. Handles parsing incoming requests through the . Parses the incoming hub payload into a . The raw hub payload. The resulting . The response returned from an incoming hub request. The changes made the the round tripped state. The result of the invocation. The id of the operation. The exception that occurs as a result of invoking the hub method. The stack trace of the exception that occurs as a result of invoking the hub method. A server side proxy for the client side hub. Invokes a method on the connection(s) represented by the instance. name of the method to invoke argumetns to pass to the client A task that represents when the data has been sent to the client. Represents a JSON value. Converts the parameter value to the specified . The to convert the parameter to. The converted parameter value. Determines if the parameter can be converted to the specified . The to check. True if the parameter can be converted to the specified , false otherwise. An implementation of IJsonValue over JSON.NET Describes a parameter resolver for resolving parameter-matching values based on provided information. Resolves method parameter values based on provided objects. Method descriptor. List of values to resolve parameter values from. Array of parameter values. Resolves a parameter value based on the provided object. Parameter descriptor. Value to resolve the parameter value from. The parameter value. Resolves method parameter values based on provided objects. Method descriptor. List of values to resolve parameter values from. Array of parameter values. Holds information about a single hub method parameter. Parameter name. Parameter type. Describes a hub method provider that builds a collection of available methods on a given hub. Retrieve all methods on a given hub. Hub descriptor object. Available methods. Tries to retrieve a method. Hub descriptor object Name of the method. Descriptor of the method, if found. Null otherwise. Method parameters to match. True, if a method has been found. Retrieves an existing dictionary of all available methods for a given hub from cache. If cache entry does not exist - it is created automatically by BuildMethodCacheFor. Builds a dictionary of all possible methods on a given hub. Single entry contains a collection of available overloads for a given method name (key). This dictionary is being cached afterwards. Hub to build cache for Dictionary of available methods Searches the specified Hub for the specified . In the case that there are multiple overloads of the specified , the parameter set helps determine exactly which instance of the overload should be resolved. If there are multiple overloads found with the same number of matching paramters, none of the methods will be returned because it is not possible to determine which overload of the method was intended to be resolved. Hub to search for the specified on. The method name to search for. If successful, the that was resolved. The set of parameters that will be used to help locate a specific overload of the specified . True if the method matching the name/parameter set is found on the hub, otherwise false. Holds information about a single hub. Hub name. Hub type. Describes a hub manager - main point in the whole hub and method lookup process. Retrieves a single hub descriptor. Name of the hub. Hub descriptor, if found. Null, otherwise. Retrieves all available hubs. List of hub descriptors. Resolves a given hub name to a concrete object. Name of the hub. Hub implementation instance, if found. Null otherwise. Resolves all available hubs to their concrete objects. List of hub instances. Retrieves a method with a given name on a given hub. Name of the hub. Name of the method to find. Method parameters to match. Descriptor of the method, if found. Null otherwise. Gets all methods available to call on a given hub. Name of the hub, Optional predicate for filtering results. List of available methods. Enables connect and reconenct notificatins for a public class MyHub : Hub, IConnected { public Task Connect() { return Clients.notifyClient("new connection established for "+ Context.ConnectionId); } public Task Reconnect(IEnumerable{string} groups) { return Clients.notifyClient("connection re-established for "+ Context.ConnectionId); } } Called when a new connection is made to the . Called when a connection reconencts to the after a timeout. The groups the connection are a member of. Generates a server id The id of the server. Default implementation. The id of the server. Provides access to information about a . Gets the for the . Gets the for the . Handles commands from server to server. Sends a command to all connected servers. Gets or sets a callback that is invoked when a command is received. Represents a result of Initializes a new instance of the struc. Gets a cursor representing the caller state. Initializes a new instance of the struc. The list of messages associated with this . Gets a cursor representing the caller state. Gets an associated with the result. Gets a cursor representing the caller state. All values saved to the messages store are wrapped by this type. If a store needs to save values in a serializable way then it just needs to call ToString() and we'll unwrap it when it comes back (if needed). Responsible for creating instances. Creates a new instance of the class. The dependency resolver to use for when creating the . Creates an instance of the specified type using the dependency resolver or the type's default constructor. The type of to create. An instance of a . The default connection id generator. Used to generate connection ids. Creates a connection id for the current request. The . A connection id Generates a random guid as the connection id. The . A guid that represents a connection id. Holds information about a single hub method. Name of this method. The return type of this method. Hub descriptor object, target to his method. Available method parameters. Method invocation delegate. Takes a target hub and an array of invocation arguments as it's arguments. Enables disconnect notificatins for a public class MyHub : Hub, IDisconnect { public Task Disconnect() { // Tell everyone this connection is gone return Clients.notifyLeave(Context.ConnectionId); } } Called when a connection is disconnected from the . This method is invoked from the server side which means the only valid property on the is the connection id. Gets a dynamic object that represents the calling client. Gets a . Which contains information about the calling client. Gets a dynamic object that represents all clients connected to this hub (not hub instance). Gets the the hub instance. Used to serialize and deserialze outgoing/incoming data. Serializes the specified object to a JSON string. The object to serailize. A JSON string representation of the object. Deserializes the JSON to a .NET object. The JSON to deserialize. The deserialized object from the JSON string. Deserializes the JSON to a .NET object. The JSON to deserialize. The of object being deserialized. The deserialized object from the JSON string. Deserializes the JSON to a .NET object. The of object being deserialized. The JSON to deserialize The deserialized object from the JSON string. Handles communication across SignalR connections. Returns a list of messages after the specified cursor or waits for new messages until the timeout is fired if there's no messages. A list of events to wait for messages. A cursor representing how much data the caller has already seen. A that represents cancellation of the wait operation when there's no messages. A that completes when data is received on the . Sends a new message to the specified event on the bus. A value representing the source of the data sent. The specific event key to send data to. The value to send. A that completes when the send is complete. Gets a value from the QueryString, and if it's null or empty, gets it from the Form instead. Manages groups for a connection. Sends a value to the specified group. The name of the group. The value to send. A task that represents when send is complete. Adds a connection to the specified group. The connection id to add to the group. The name of the group A task that represents the connection id being added to the group. Removes a connection from the specified group. The connection id to remove from the group. The name of the group A task that represents the connection id being removed from the group. Describes hub descriptor provider, which provides information about available hubs. Retrieve all avaiable hubs. Collection of hub descriptors. Tries to retrieve hub with a given name. Name of the hub. Retrieved descriptor object. True, if hub has been found Provides methods that communicate with SignalR connections that connected to a . A dynamic object that represents all clients connected to this hub (not hub instance). A dynamic object that represents the calling client. Provides information about the calling client. The group manager for this hub instance. Gets the connection id of the calling client. Gets the cookies for the request. Gets the headers for the request. Gets the server variables for the request. Gets the querystring for the request. Gets the for the request. Handles all communication over the hubs persistent connection. Represents a connection between client and server. Handles all requests for s. The for the current request. A that completes when the pipeline is complete. Thrown if connection wasn't initialized. Thrown if the transport wasn't specified. Thrown if the connection id wasn't specified. Returns the default signals for the . The id of the incoming connection. The default signals for this . Called when a new connection is made. The for the current connection. The id of the connecting client. A that completes when the connect operation is complete. Called when a connection reconnects after a timeout. The for the current connection. The groups the calling connection is a part of. The id of the re-connecting client. A that completes when the re-connect operation is complete. Called when data is received from a connection. The for the current connection. The id of the connection sending the data. The payload sent to the connection. A that completes when the receive operation is complete. Called when a connection disconnects. The id of the disconnected connection. A that completes when the disconnect operation is complete. Called when there's an error on the connection. The that occurred. A that completes when the error operation is complete. Occurs when a data is received from a connection. Occurs when a new connection is established. Occurs when an existing connection ends. Gets the for the . Gets the for the . Initializes an instance of the class. The base url of the connection url. Processes the hub's incoming method calls. Default implementation over Json.NET. Initializes a new instance of the class. Initializes a new instance of the class. The to use when serializing and deserializing. Serializes the specified object to a JSON string. The object to serailize. A JSON string representation of the object. Deserializes the JSON to a .NET object. The JSON to deserialize. The deserialized object from the JSON string. Deserializes the JSON to a .NET object. The JSON to deserialize. The of object being deserialized. The deserialized object from the JSON string. Deserializes the JSON to a .NET object. The of object being deserialized. The JSON to deserialize The deserialized object from the JSON string. Helper class for common JSON operations. Converts the specified name to camel case. The name to convert. A camel cased version of the specified name. Gets a string that returns JSON mime type "application/json". Gets a string that returns JSONP mime type "text/javascript". The default implementation. Initializes a new instance of the class. The this group resides on. The prefix for this group. Either a name or type name. Sends a value to the specified group. The name of the group. The value to send. A task that represents when send is complete. Adds a connection to the specified group. The connection id to add to the group. The name of the group A task that represents the connection id being added to the group. Removes a connection from the specified group. The connection id to remove from the group. The name of the group A task that represents the connection id being removed from the group. A server to server command. Gets or sets the id of the command where this message originated from. Gets of sets the command type. Gets or sets the value for this command. Default implementation. Represents a connection that can be tracked by an . Causes the connection to disconnect. Causes the connection to timeout. Sends a keep alive ping over the connection. Kills the connection. Gets the id of the connection. Gets a value that represents if the connection is alive. Gets a value that represents if the connection is timed out. Gets a value that represents if the connection supprots keep alive. Gets a value indicating the amount of time to wait after the connection dies before firing the disconnecting the connection. Gets the uri of the connection. Represents a transport that communicates Processes the specified for this transport. The to process. A that completes when the transport has finished processing the connection. Sends data over the transport. The value to be sent. A that completes when the send is complete. Gets or sets a callback that is invoked when the transport receives data. Gets or sets a callback that is invoked when the initial connection connects to the transport. Gets or sets a callback that is invoked when the transport connects. Gets or sets a callback that is invoked when the transport reconnects. Gets or sets a callback that is invoked when the transport disconnects. Gets or sets a callback that is invoked when the transport throws an error. Gets the connection id for the transport. Gets the groups the connection is a member of. Manages tracking the state of connections. Adds a new connection to the list of tracked connections. The connection to be added. Marks an existing connection as active. The connection to mark. Removes a connection from the list of tracked connections. The connection to remove. Gets a list of connections being tracked. A list of connections. Manages the transports for connections. Gets the specified transport for the specified . The for the current request. The for the specified . Determines whether the specified transport is supported. The name of the transport to test. True if the transport is supported, otherwise False. Default implementation of . Initializes and instance of the class. The . Adds a new connection to the list of tracked connections. The connection to be added. Removes a connection from the list of tracked connections. The connection to remove. Marks an existing connection as active. The connection to mark. The number of milliseconds to tell the browser to wait before restablishing a long poll connection after data is sent from the server. Defaults to 0. Represents a response to a connection. The id of the last message in the connection received. The list of messages to be sent to the receiving connection. True if the connection receives a disconnect command. True if the connection was forcibly closed. True if the connection timed out. Transport specific configurtion information. Passes a task returning function into another task returning function so that it can decide when it starts and returns a task that completes when all are finished A change tracking dictionary. A communication channel for a and its connections. Sends a message to all connections waiting for the specified signal. An example of signal may be a specific connection id, or fully qualified group name (Use to manipulate groups). The signal to broacast to The value to broadcast. A task that represents when the broadcast is complete. Broadcasts a value to all connections. The value to broadcast. A task that represents when the broadcast is complete. The default implementation. Initializes a new instance of class. The default . Adds a new transport to the list of supported transports. The specified transport. The factory method for the specified transport. Removes a transport from the list of supported transports. The specified transport. Gets the specified transport for the specified . The for the current request. The for the specified . Determines whether the specified transport is supported. The name of the transport to test. True if the transport is supported, otherwise False.