Microsoft.AspNet.SignalR.Core The amount of time the client should wait without seeing a keep alive before trying to reconnect. The interval between successively checking connection states. The amount of time a Topic should stay in memory after its last subscriber is removed. The dependency resolver to use for the hub connection. Gets of sets a boolean that determines if JSONP is enabled. Represents a connection to the client. Writes buffered data. The data to write to the buffer. Flushes the buffered response to the client. A task that represents when the data has been flushed. Gets a cancellation token that represents the client's lifetime. Gets or sets the status code of the response. Gets or sets the content type of the response. Encapsulates all information about a SignalR connection for an . Encapsulates all information about an individual SignalR connection for an . Provides access to information about a . Encapsulates all information about a SignalR connection for an . Gets the the hub. Provides methods that communicate with SignalR connections that connected to a . Provides methods that communicate with SignalR connections that connected to a . This marker interface can be used in lieu of IDisposable in order to indicate to the dependency resolver that it should not retain/track references nor invoke Dispose on instances of the resolved type. This is useful for transient types that are created by the dependency resolver, but are short-lived and will be Disposed by some other means outside of the resolver. Called when a new connection is made to the . Called when a connection reconnects to the after a timeout. Called when a connection disconnects from the gracefully or due to a timeout. true, if stop was called on the client closing the connection gracefully; false, if the connection has been lost for longer than the . Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. 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. Called when a connection disconnects from this hub gracefully or due to a timeout. true, if stop was called on the client closing the connection gracefully; false, if the connection has been lost for longer than the . Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. A Called when the connection connects to this hub instance. A Called when the connection reconnects to this hub instance. A Gets a dynamic object that represents all clients connected to this hub (not hub instance). Provides information about the calling client. The group manager for this hub instance. Gets a dynamic object that represents all clients connected to this hub (not hub instance). Determines whether JavaScript proxies for the server-side hubs should be auto generated at {Path}/hubs or {Path}/js. Defaults to true. Determines whether detailed exceptions thrown in Hub methods get reported back the invoking client. Defaults to false. 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. Returns a dynamic representation of all clients except the calling client ones specified. The list of connection ids to exclude A dynamic representation of all clients except the calling client ones specified. Returns a dynamic representation of the connection with the specified connectionid. The connection id A dynamic representation of the specified client. Returns a dynamic representation of the connections with the specified connectionids. The connection ids. A dynamic representation of the specified clients. Returns a dynamic representation of the specified group. The name of the group The list of connection ids to exclude A dynamic representation of the specified group. Returns a dynamic representation of the specified groups. The names of the groups. The list of connection ids to exclude A dynamic representation of the specified groups. Holds information about a single hub method. Name of Descriptor. Flags whether the name was specified. The return type of this method. Hub descriptor object, target to this method. Available method parameters. Method invocation delegate. Takes a target hub and an array of invocation arguments as it's arguments. Attributes attached to this method. The exception to be sent to the calling client. This will be overridden by a generic Exception unless Error is a or is set to true. The value to return in lieu of throwing Error. Whenever Result is set, Error will be set to null. Provides access to information about a . Encapsulates all information about a SignalR connection for an . Gets the the hub. Provides access to server configuration. Gets or sets a representing the amount of time a client should allow to connect before falling back to another transport or failing. The default value is 5 seconds. Gets or sets a representing the amount of time to leave a connection open before timing out. The default value is 110 seconds. Gets or sets a representing the amount of time to wait after a connection goes away before raising the disconnect event. The default value is 30 seconds. Gets or sets a representing the amount of time between send keep alive messages. If enabled, this value must be at least two seconds. Set to null to disable. The default value is 10 seconds. Gets or sets the number of messages to buffer for a specific signal. The default value is 1000. Gets or sets the maximum size in bytes of messages sent from client to the server via WebSockets. Set to null to disable this limit. The default value is 65536 or 64 KB. Gets or sets a representing tell the client to wait before restablishing a long poll connection after data is sent from the server. The default value is 0. A buffering text writer that supports writing binary directly as well TextWriter implementation over a write delegate optimized for writing in small chunks we don't need to write to a long lived buffer. This saves massive amounts of memory as the number of connections grows. Implemented on anything that has the ability to write raw binary data 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 specified . Type of the Interface implemented by the client proxy a for the specified Returns a for the specified hub. Name of the hub Interface implemented by the client proxy 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 Returns a for the specified . Type of the Interface implemented by the client proxy a for the specified Returns a for the specified hub. Name of the hub Interface implemented by the client proxy a for the specified hub A message sent to one more connections. Initializes a new instance of the class. The signal The payload of the message The signals to exclude. The signal to this message should be sent to. Connections subscribed to this signal will receive the message payload. A list of signals this message should be delivered to. If this is used the Signal cannot be used. The payload of the message. Represents a list of signals that should be used to filter what connections receive this message. Provides access to default host information. Gets or sets the the default Gets the default Gets the default Gets the default Represents a SignalR request Reads the form of the http request Gets the url for this request. The local path part of the url Gets the querystring for this request. Gets the headers for this request. Gets the cookies for this request. Gets security information for the current HTTP request. Gets the owin enviornment A converter for dictionaries that uses a SipHash comparer Represents a web socket. Sends data over the websocket. The value to send. A that represents the send is complete. Sends a chunk of data over the websocket ("endOfMessage" flag set to false.) A that represents the send is complete. Sends a zero byte data chunk with the "endOfMessage" flag set to true. A that represents the flush is complete. Invoked when data is sent over the websocket Invoked when the websocket closes Invoked when there is an error Extension methods for . 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. Encapsulates all information about an individual SignalR connection for an . Initializes a new instance of the . Initializes a new instance of the . The pipeline invoker. The connection. The hub name. The connection id. The connection hub state. Returns a dynamic representation of all clients in a group except the calling client. The name of the group A dynamic representation of all clients in a group except the calling client. Returns a dynamic representation of all clients in the specified groups except the calling client. The name of the groups A dynamic representation of all clients in a group except the calling client. All connected clients except the calling client. Represents the calling client. Represents the calling client's state. This should be used when the state is innaccessible via the property (such as in VB.NET or in typed Hubs). This module is added the the HubPipeline by default. Hub level attributes that implement such as are applied to determine whether to allow potential clients to receive messages sent from that hub using a or a All applicable hub attributes must allow hub connection for the connection to be authorized. Hub and method level attributes that implement such as are applied to determine whether to allow callers to invoke hub methods. All applicable hub level AND method level attributes must allow hub method invocation for the invocation to be authorized. Optionally, this module may be instantiated with and authorizers that will be applied globally to all hubs and hub methods. Common base class to simplify the implementation of IHubPipelineModules. A module can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. A module can be activated by calling . The combined modules added to the are invoked via the interface. An can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. Modules can be be activated by calling . The combined modules added to the are invoked via the interface. Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in by not executing the invoke parameter. A function that invokes a server-side hub method. A wrapped function that invokes a server-side hub method. Wraps a function that invokes a client-side hub method. A function that invokes a client-side hub method. A wrapped function that invokes a client-side hub method. Wraps a function that is called when a client connects to the for each the client connects to. By default, this results in the 's OnConnected method being invoked. A function to be called when a client connects to a hub. A wrapped function to be called when a client connects to a hub. Wraps a function that is called when a client reconnects to the for each the client connects to. By default, this results in the 's OnReconnected method being invoked. A function to be called when a client reconnects to a hub. A wrapped function to be called when a client reconnects to a hub. Wraps a function that is called when a client disconnects from the for each the client was connected to. By default, this results in the 's OnDisconnected method being invoked. A task-returning function to be called when a client disconnects from a hub. This function takes two parameters: 1. The is being disconnected from. 2. A boolean, stopCalled, that is true if stop was called on the client and false if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. A wrapped function to be called when a client disconnects from a hub. Wraps a function to be called before a client subscribes to signals belonging to the hub described by the . By default, the will look for attributes on the to help determine if the client is authorized to subscribe to method invocations for the described hub. The function returns true if the client is authorized to subscribe to client-side hub method invocations; false, otherwise. A function that dictates whether or not the client is authorized to connect to the described Hub. A wrapped function that dictates whether or not the client is authorized to connect to the described Hub. Wraps a function that determines which of the groups belonging to the hub described by the the client should be allowed to rejoin. By default, clients will rejoin all the groups they were in prior to reconnecting. A function that determines which groups the client should be allowed to rejoin. A wrapped function that determines which groups the client should be allowed to rejoin. Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in by not executing the invoke parameter. A function that invokes a server-side hub method. A wrapped function that invokes a server-side hub method. Wraps a function that is called when a client connects to the for each the client connects to. By default, this results in the 's OnConnected method being invoked. A function to be called when a client connects to a hub. A wrapped function to be called when a client connects to a hub. Wraps a function that is called when a client reconnects to the for each the client connects to. By default, this results in the 's OnReconnected method being invoked. A function to be called when a client reconnects to a hub. A wrapped function to be called when a client reconnects to a hub. Wraps a function that is called when a client disconnects from the for each the client was connected to. By default, this results in the 's OnDisconnected method being invoked. A task-returning function to be called when a client disconnects from a hub. This function takes two parameters: 1. The is being disconnected from. 2. A boolean, stopCalled, that is true if stop was called on the client and false if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. A wrapped function to be called when a client disconnects from a hub. Wraps a function to be called before a client subscribes to signals belonging to the hub described by the . By default, the will look for attributes on the to help determine if the client is authorized to subscribe to method invocations for the described hub. The function returns true if the client is authorized to subscribe to client-side hub method invocations; false, otherwise. A function that dictates whether or not the client is authorized to connect to the described Hub. A wrapped function that dictates whether or not the client is authorized to connect to the described Hub. Wraps a function that determines which of the groups belonging to the hub described by the the client should be allowed to rejoin. By default, clients will rejoin all the groups they were in prior to reconnecting. A function that determines which groups the client should be allowed to rejoin. A wrapped function that determines which groups the client should be allowed to rejoin. Wraps a function that invokes a client-side hub method. A function that invokes a client-side hub method. A wrapped function that invokes a client-side hub method. This method is called before the AuthorizeConnect components of any modules added later to the are executed. If this returns false, then those later-added modules will not run and the client will not be allowed to subscribe to client-side invocations of methods belonging to the hub defined by the . A description of the hub the client is trying to subscribe to. The connect request of the client trying to subscribe to the hub. true, if the client is authorized to connect to the hub, false otherwise. This method is called before the connect components of any modules added later to the are executed. If this returns false, then those later-added modules and the method will not be run. The hub the client has connected to. true, if the connect components of later added modules and the method should be executed; false, otherwise. This method is called after the connect components of any modules added later to the are executed and after is executed, if at all. The hub the client has connected to. This method is called before the reconnect components of any modules added later to the are executed. If this returns false, then those later-added modules and the method will not be run. The hub the client has reconnected to. true, if the reconnect components of later added modules and the method should be executed; false, otherwise. This method is called after the reconnect components of any modules added later to the are executed and after is executed, if at all. The hub the client has reconnected to. This method is called before the outgoing components of any modules added later to the are executed. If this returns false, then those later-added modules and the client-side hub method invocation(s) will not be executed. A description of the client-side hub method invocation. true, if the outgoing components of later added modules and the client-side hub method invocation(s) should be executed; false, otherwise. This method is called after the outgoing components of any modules added later to the are executed. This does not mean that all the clients have received the hub method invocation, but it does indicate indicate a hub invocation message has successfully been published to a message bus. A description of the client-side hub method invocation. This method is called before the disconnect components of any modules added later to the are executed. If this returns false, then those later-added modules and the method will not be run. The hub the client has disconnected from. true, if stop was called on the client closing the connection gracefully; false, if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. true, if the disconnect components of later added modules and the method should be executed; false, otherwise. This method is called after the disconnect components of any modules added later to the are executed and after is executed, if at all. The hub the client has disconnected from. true, if stop was called on the client closing the connection gracefully; false, if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. This method is called before the incoming components of any modules added later to the are executed. If this returns false, then those later-added modules and the server-side hub method invocation will not be executed. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in by not executing the invoke parameter or prevented in by returning false. A description of the server-side hub method invocation. true, if the incoming components of later added modules and the server-side hub method invocation should be executed; false, otherwise. This method is called after the incoming components of any modules added later to the and the server-side hub method have completed execution. The return value of the server-side hub method A description of the server-side hub method invocation. The possibly new or updated return value of the server-side hub method This is called when an uncaught exception is thrown by a server-side hub method or the incoming component of a module added later to the . Observing the exception using this method will not prevent it from bubbling up to other modules. Represents the exception that was thrown during the server-side invocation. It is possible to change the error or set a result using this context. A description of the server-side hub method invocation. Apply to Hubs and Hub methods to authorize client connections to Hubs and authorize client invocations of Hub methods. Interface to be implemented by s that can authorize client to connect to a . Given a , determine whether client is authorized to connect to . Description of the hub client is attempting to connect to. The connection request from the client. true if the caller is authorized to connect to the hub; otherwise, false. Interface to be implemented by s that can authorize the invocation of methods. Given a , determine whether client is authorized to invoke the method. An providing details regarding the method invocation. Indicates whether the interface instance is an attribute applied directly to a method. true if the caller is authorized to invoke the method; otherwise, false. Determines whether client is authorized to connect to . Description of the hub client is attempting to connect to. The (re)connect request from the client. true if the caller is authorized to connect to the hub; otherwise, false. Determines whether client is authorized to invoke the method. An providing details regarding the method invocation. Indicates whether the interface instance is an attribute applied directly to a method. true if the caller is authorized to invoke the method; otherwise, false. When overridden, provides an entry point for custom authorization checks. Called by and . The for the client being authorize true if the user is authorized, otherwise, false Set to false to apply authorization only to the invocations of any of the Hub's server-side methods. This property only affects attributes applied to the Hub class. This property cannot be read. Gets or sets the user roles. Gets or sets the authorized users. A description of a client-side hub method invocation originating from the server. The , if any, corresponding to the client that invoked the server-side hub method that is invoking the client-side hub method. A description of the method call to be made on the client. The signal (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that receive the method invocation. The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that receive the method invocation. The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that should not receive the method invocation regardless of the . A description of a client-side hub method invocation. The name of the hub that the method being invoked belongs to. The name of the client-side hub method be invoked. The argument list the client-side hub method will be called with. A key-value store representing the hub state on the server that has changed since the last time the hub state was sent to the client. Requiring Authentication adds an to the with and authorizers that will be applied globally to all hubs and hub methods. These authorizers require that the 's IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations. The to which the will be added. Implementations of this interface are responsible for executing operation required to complete various stages hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. Invokes a server-side hub method. A description of the server-side hub method invocation. An asynchronous operation giving the return value of the server-side hub method invocation. Invokes a client-side hub method. A description of the client-side hub method invocation. To be called when a client connects to the for each the client connects to. By default, this results in the 's OnConnected method being invoked. A the client is connected to. To be called when a client reconnects to the for each the client connects to. By default, this results in the 's OnReconnected method being invoked. A the client is reconnected to. To be called when a client disconnects from the for each the client was connected to. By default, this results in the 's OnDisconnected method being invoked. A the client was disconnected from. true, if stop was called on the client closing the connection gracefully; false, if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. To be called before a client subscribes to signals belonging to the hub described by the . By default, the will look for attributes on the to help determine if the client is authorized to subscribe to method invocations for the described hub. A description of the hub the client is attempting to connect to. The connect request being made by the client which should include the client's User. true, if the client is authorized to subscribe to client-side hub method invocations; false, otherwise. This method determines which of the groups belonging to the hub described by the the client should be allowed to rejoin. By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, because untrusted clients may claim to be a member of groups they were never authorized to join. A description of the hub for which the client is attempting to rejoin groups. The reconnect request being made by the client that is attempting to rejoin groups. The list of groups belonging to the relevant hub that the client claims to have been a member of before the reconnect. A list of groups the client is allowed to rejoin. A description of a server-side hub method invocation originating from a client. A hub instance that contains the invoked method as a member. A description of the method being invoked by the client. The arguments to be passed to the invoked method. A key-value store representing the hub state on the client at the time of the invocation. Handles parsing incoming requests through the . Parses the incoming hub payload into a . The raw hub payload. The JsonSerializer used to parse the data. 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 progress update of the invocation. Indicates whether the Error is a see . 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. Extra error data contained in the A change tracking dictionary. A collection of modules that can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. Adds an to the hub pipeline. Modules added to the pipeline first will wrap modules that are added to the pipeline later. All modules must be added to the pipeline before any methods on the are invoked. A module that may intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. The itself with the newly added module allowing calls to be chained. This method mutates the pipeline it is invoked on so it is not necessary to store its result. Manages groups for a connection and allows sending messages to the group. Manages groups for a connection. 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. Sends a value to the specified group. The name of the group. The value to send. The list of connection ids to exclude A task that represents when send is complete. Sends a value to the specified groups. The names of the groups. The value to send. The list of connection ids to exclude A task that represents when send is complete. Provides access to performance counters. Initializes the performance counters. The host instance name. The CancellationToken representing the host shutdown. Loads a performance counter. The category name. The counter name. The instance name. Whether the counter is read-only. Gets the performance counter representing the total number of connection Connect events since the application was started. Gets the performance counter representing the total number of connection Reconnect events since the application was started. Gets the performance counter representing the total number of connection Disconnect events since the application was started. Gets the performance counter representing the number of connections currently connected using ForeverFrame transport. Gets the performance counter representing the number of connections currently connected using LongPolling transport. Gets the performance counter representing the number of connections currently connected using ServerSentEvents transport. Gets the performance counter representing the number of connections currently connected using WebSockets transport. Gets the performance counter representing the number of connections currently connected. Gets the performance counter representing the total number of messages received by connections (server to client) since the application was started. Gets the performance counter representing the total number of messages received by connections (server to client) since the application was started. Gets the performance counter representing the number of messages received by connections (server to client) per second. Gets the performance counter representing the number of messages sent by connections (client to server) per second. Gets the performance counter representing the total number of messages received by subscribers since the application was started. Gets the performance counter representing the number of messages received by a subscribers per second. Gets the performance counter representing the number of messages received by the scaleout message bus per second. Gets the performance counter representing the total number of messages published to the message bus since the application was started. Gets the performance counter representing the number of messages published to the message bus per second. Gets the performance counter representing the current number of subscribers to the message bus. Gets the performance counter representing the total number of subscribers to the message bus since the application was started. Gets the performance counter representing the number of new subscribers to the message bus per second. Gets the performance counter representing the number of workers allocated to deliver messages in the message bus. Gets the performance counter representing the number of workers currently busy delivering messages in the message bus. Gets the performance counter representing representing the current number of topics in the message bus. Gets the performance counter representing the total number of all errors processed since the application was started. Gets the performance counter representing the number of all errors processed per second. Gets the performance counter representing the total number of hub resolution errors processed since the application was started. Gets the performance counter representing the number of hub resolution errors per second. Gets the performance counter representing the total number of hub invocation errors processed since the application was started. Gets the performance counter representing the number of hub invocation errors per second. Gets the performance counter representing the total number of transport errors processed since the application was started. Gets the performance counter representing the number of transport errors per second. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider that are in the open state. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider that are in the buffering state. Gets the performance counter representing the total number of scaleout errors since the application was started. Gets the performance counter representing the number of scaleout errors per second. Gets the performance counter representing the current scaleout send queue length. Manages performance counters using Windows performance counters. The performance counter category name for SignalR counters. Creates a new instance. Initializes the performance counters. The host instance name. The CancellationToken representing the host shutdown. Gets the performance counter representing the total number of connection Connect events since the application was started. Gets the performance counter representing the total number of connection Reconnect events since the application was started. Gets the performance counter representing the total number of connection Disconnect events since the application was started. Gets the performance counter representing the number of connections currently connected using the ForeverFrame transport. Gets the performance counter representing the number of connections currently connected using the LongPolling transport. Gets the performance counter representing the number of connections currently connected using the ServerSentEvents transport. Gets the performance counter representing the number of connections currently connected using the WebSockets transport. Gets the performance counter representing the number of connections currently connected. Gets the performance counter representing the toal number of messages received by connections (server to client) since the application was started. Gets the performance counter representing the total number of messages sent by connections (client to server) since the application was started. Gets the performance counter representing the number of messages received by connections (server to client) per second. Gets the performance counter representing the number of messages sent by connections (client to server) per second. Gets the performance counter representing the total number of messages received by subscribers since the application was started. Gets the performance counter representing the number of messages received by a subscribers per second. Gets the performance counter representing the number of messages received by the scaleout message bus per second. Gets the performance counter representing the total number of messages published to the message bus since the application was started. Gets the performance counter representing the number of messages published to the message bus per second. Gets the performance counter representing the current number of subscribers to the message bus. Gets the performance counter representing the total number of subscribers to the message bus since the application was started. Gets the performance counter representing the number of new subscribers to the message bus per second. Gets the performance counter representing the number of workers allocated to deliver messages in the message bus. Gets the performance counter representing the number of workers currently busy delivering messages in the message bus. Gets the performance counter representing representing the current number of topics in the message bus. Gets the performance counter representing the total number of all errors processed since the application was started. Gets the performance counter representing the number of all errors processed per second. Gets the performance counter representing the total number of hub resolution errors processed since the application was started. Gets the performance counter representing the number of hub resolution errors per second. Gets the performance counter representing the total number of hub invocation errors processed since the application was started. Gets the performance counter representing the number of hub invocation errors per second. Gets the performance counter representing the total number of transport errors processed since the application was started. Gets the performance counter representing the number of transport errors per second. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider that are in the open state. Gets the performance counter representing the number of logical streams in the currently configured scaleout message bus provider that are in the buffering state. Gets the performance counter representing the total number of scaleout errors since the application was started. Gets the performance counter representing the number of scaleout errors per second. Gets the performance counter representing the current scaleout send queue length. Helper class to manage disposing a resource at an arbirtary time Thread safe cancellation token source. Allows the following: - Cancel will no-op if the token is disposed. - Dispose may be called after Cancel. 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. Implementations handle their own serialization to JSON. Serializes itself to JSON via a . The that receives the JSON serialized object. An implementation of IJsonValue over JSON.NET Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. The connection The connectionId to send to. The value to publish. A task that represents when the broadcast is complete. Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. The connection The connection ids to send to. The value to publish. A task that represents when the broadcast is complete. Broadcasts a value to all connections, excluding the connection ids specified. The connection The value to broadcast. The list of connection ids to exclude A task that represents when the broadcast is complete. 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 parameters, 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 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 matching the given predicate. 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. Provides access to information about a . Gets the for the . Gets the for the . Extensions for . Deserializes the JSON to a .NET object. The serializer The of object being deserialized. The JSON to deserialize The deserialized object from the JSON string. Deserializes the JSON to a .NET object. The serializer The of object being deserialized. The JSON buffer to deserialize The encoding to use. The deserialized object from the JSON string. Serializes the specified object to a . The JSON serializer The object to serialize The to serialize the object to. Serializes the specified object to a JSON string. The serializer The object to serailize. A JSON string representation of the object. Minifies a string in a way that can be reversed by this instance of . The string to be minified A minified representation of the without the following characters:,|\ Reverses a call that was executed at least once previously on this instance of without any subsequent calls to sharing the same argument as the call that returned . A minified string that was returned by a previous call to . The argument of all previous calls to that returned . If every call to on this instance of has never returned or if the most recent call to that did return was followed by a call to sharing the same argument, may return null but must not throw. A call to this function indicates that any future attempt to unminify strings that were previously minified from may be met with a null return value. This provides an opportunity clean up any internal data structures that reference . The string that may have previously have been minified. This class is the main coordinator. It schedules work to be done for a particular subscription. Represents a message to the scaleout backplane The messages from SignalR The time the message was created on the origin server Common base class for scaleout message bus implementations. Publishes a new message to the specified event on the bus. The message to publish. Creates a topic for the specified key. The key to create the topic for. A for the specified key. Opens the specified queue for sending messages. The index of the stream to open. Closes the specified queue. The index of the stream to close. Closes the specified queue for sending messages making all sends fail asynchronously. The index of the stream to close. The error that occurred. Sends messages to the backplane The list of messages to send Invoked when a payload is received from the backplane. There should only be one active call at any time. id of the stream. id of the payload within that stream. The scaleout message. The number of streams can't change for the lifetime of this instance. Initializes a new instance of the struct. The array of messages associated with this . The amount of messages populated in the messages array. Gets an associated with the result. Common settings for scale-out message bus implementations. Gets or sets a value that represents the queuing behavior for scale-out messages. Defaults to QueuingBehavior.InitialOnly The maximum length of the outgoing send queue. Messages being sent to the backplane are queued up to this length. After the max length is reached, further sends will throw an InvalidOperationException. 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 . Helpers for decoding URI query components. Standard keys and values for use within the OWIN interfaces Maps SignalR hubs to the app builder pipeline at "/signalr". The app builder Maps SignalR hubs to the app builder pipeline at "/signalr". The app builder The to use Maps SignalR hubs to the app builder pipeline at the specified path. The app builder The path to map signalr hubs The to use Adds SignalR hubs to the app builder pipeline. The app builder Adds SignalR hubs to the app builder pipeline. The app builder The to use Maps the specified SignalR to the app builder pipeline at the specified path. The type of The app builder The path to map the Maps the specified SignalR to the app builder pipeline at the specified path. The type of The app builder The path to map the persistent connection The to use Maps the specified SignalR to the app builder pipeline at the specified path. The app builder The path to map the persistent connection The type of The to use Adds the specified SignalR to the app builder. The type of The app builder Adds the specified SignalR to the app builder. The type of The app builder The to use Adds the specified SignalR to the app builder. The app builder The type of The to use 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 This constructor is only intended to enable mocking of the class. Use of this constructor for other purposes may result in unexpected behavior. Gets the connection id of the calling client. Gets the cookies for the request. Gets the headers for the request. Gets the querystring for the request. Gets the for the request. Gets the for the current HTTP request. Handles all communication over the hubs persistent connection. Represents a connection between client and server. OWIN entry point. 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 signals used in the . The user id for the current connection. The id of the incoming connection. The signals used for this . Called before every request and gives the user a authorize the user. The for the current connection. A boolean value that represents if the request is authorized. Called when a connection reconnects after a timeout to determine which groups should be rejoined. The for the current connection. The groups the calling connection claims to be part of. The id of the reconnecting client. A collection of group names that should be joined on reconnect 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 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 gracefully or due to a timeout. The for the current connection. The id of the disconnected connection. true, if stop was called on the client closing the connection gracefully; false, if the connection has been lost for longer than the . Timeouts can occur in scaleout when clients reconnect with another server. A that completes when the disconnect operation is complete. Gets the for the . Gets the for the . Initializes an instance of the class. Configuration settings determining whether to enable JS proxies and provide clients with detailed hub errors. Processes the hub's incoming method calls. 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. Creates a default instance. The newly created . Creates a instance with the default setting. The newly created . Gets a string that returns JSON mime type "application/json; charset=UTF-8". Gets a string that returns JSONP mime type "application/javascript; charset=UTF-8". 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. The list of connection ids to exclude A task that represents when send is complete. Sends a value to the specified group. The names of the groups. The value to send. The list of connection ids to exclude 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 singleton that subscribes to all ACKs sent over the and triggers any corresponding ACKs on the . A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to /// <summary>Calls the {0} method on the server-side {1} hub.&#10;Returns a jQuery.Deferred() promise.</summary>. Looks up a localized string similar to /// <param name=\"{0}\" type=\"{1}\">Server side type is {2}</param>. Looks up a localized string similar to Ambiguous message. Unable to send to both '{0}' and '{1}'.. Looks up a localized string similar to Argument cannot be null or empty. Looks up a localized string similar to The buffer size '{0}' is out of range.. Looks up a localized string similar to Caller is not authorized to invoke the {0} method on {1}.. Looks up a localized string similar to The ConnectionId is in the incorrect format.. Looks up a localized string similar to The PersistentConnection is not initialized.. Looks up a localized string similar to DisconnectTimeout cannot be configured after the KeepAlive.. Looks up a localized string similar to DisconnectTimeout must be at least six seconds.. Looks up a localized string similar to Do not read RequireOutgoing. Use protected _requireOutgoing instead.. Looks up a localized string similar to Two Hubs must not share the same name. '{0}' and '{1}' both share the name '{2}'.. Looks up a localized string similar to Duplicate Hub names found.. Looks up a localized string similar to Duplicate payload id detected for stream '{0}'.. Looks up a localized string similar to The ExceptionContext has already been modified once and cannot be modified again.. Looks up a localized string similar to '{0}' Hub could not be resolved.. Looks up a localized string similar to There was an error invoking Hub method '{0}.{1}'.. Looks up a localized string similar to You cannot report progress on a hub method invocation that has already completed.. Looks up a localized string similar to Invalid cursor.. Looks up a localized string similar to The supplied frameId is in the incorrect format.. Looks up a localized string similar to '{0}' is not a {1}.. Looks up a localized string similar to SignalR: JavaScript Hub proxy generation has been disabled.. Looks up a localized string similar to KeepAlive value must be greater than two seconds.. Looks up a localized string similar to KeepAlive value must be no more than a third of the DisconnectTimeout.. Looks up a localized string similar to '{0}' method could not be resolved. No method found with that name.. Looks up a localized string similar to '{0}' method could not be resolved. Potential candidates are: {1}. Looks up a localized string similar to Outgoing authorization can only be required for an entire Hub, not a specific method.. Looks up a localized string similar to The '{0}' parameter of '{1}.{2}' must not be an out parameter.. Looks up a localized string similar to The '{0}' parameter of '{1}.{2}' must not be a ref parameter.. Looks up a localized string similar to The return type of '{0}.{1}' must be void or Task.. Looks up a localized string similar to Multiple activators for type {0} are registered. Please call GetServices instead.. Looks up a localized string similar to A configuration object must be specified.. Looks up a localized string similar to A dependency resolver must be specified.. Looks up a localized string similar to Not a valid web socket request.. Looks up a localized string similar to Unexpected end when reading object.. Looks up a localized string similar to Protocol error: Missing connection token.. Looks up a localized string similar to Protocol error: Unknown transport.. Looks up a localized string similar to Scaleout queuing is enabled but maximum queue size is 0. Looks up a localized string similar to State has exceeded the maximum length of 4096 bytes.. Looks up a localized string similar to The stream has been closed.. Looks up a localized string similar to The stream is not open.. Looks up a localized string similar to The queue is full.. Looks up a localized string similar to The type T, '{0}', passed to Hub<T> must be an interface.. Looks up a localized string similar to The interface '{0}' must not contain any events.. Looks up a localized string similar to The interface '{0}' must not contain any properties.. Looks up a localized string similar to Unable to add module. The HubPipeline has already been invoked.. Looks up a localized string similar to Unrecognized user identity. The user identity cannot change during an active SignalR connection.. Looks up a localized string similar to Using a Hub instance not created by the HubPipeline is unsupported.. Looks up a localized string similar to WebSockets is not supported.. Looks up a localized string similar to Forbidden: JSONP is disabled.. Represents a connection that can be tracked by an . Applies a new state to the connection. Causes the connection to disconnect. Causes the connection to timeout. Sends a keep alive ping over the connection. Increments performance counter for current connections. Decrements performance counter for current connections. Kills the connection. Gets the id of the connection. Gets a cancellation token that represents the connection's lifetime. Gets the task that completes when the task returned by PersistentConnection.OnConnected does. 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 that represents if the connection should timeout after inactivity. 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 Get groupsToken in request over the transport. groupsToken in request 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 reconnects. Gets or sets a callback that is invoked when the transport disconnects. Gets or sets the connection id for the transport. Pointed to the HTMLOutputWriter to wrap output stream with an HTML friendly one Manages tracking the state of connections. Adds a new connection to the list of tracked connections. The connection to be added. The connection it replaced, if any. 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. Represents a response to a connection. Creates a new instance of . A filter that determines whether messages should be written to the client. The cursor writer. Serializes only the necessary components of the to JSON using Json.NET's JsonTextWriter to improve performance. The that receives the JSON serialization. The list of messages to be sent to the receiving connection. The total count of the messages sent the receiving connection. True if the connection is in process of initializing True if the connection was forcibly closed. True if the client should try reconnecting. Signed token representing the list of groups. Updates on change. The time the long polling client should wait before reestablishing a connection if no data is received. A communication channel for a and its connections. Sends a message to connections subscribed to the signal. The message to send. A task that returns when the message has be sent. The main signal for this connection. This is the main signalr for a . Which connection the message originated from The signal for the message (connection id, group, etc) The message payload The command id if this message is a command Determines if the caller should wait for acknowledgement for this message Determines if this message is itself an ACK A list of connection ids to filter out The encoding of the message The payload id. Only used in scaleout scenarios The stream index this message came from. Only used the scaleout scenarios. 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.