message bus is subscribed. Fixes #552.
…rameter to prevent DST bugs
- Only Close the HttpResponse not the stream (since it's unnecessary).
…d safe invocation. - Added ThreadSafeInvoker for thread safe fire once delegates. - Use ThreadSafeInvoker for ServerSentEventsTransport and LongPollingTransport.
…fety in mind. - Check to make sure we're doing valid state transitions. - Made State get only and added ChangeSet method which makes sure state transitions are valid. Fixes #474
…ectly. - Optimized type conversation so we don't end up parsing JSON twice on hub calls.
…Connection. - Associate the lifetime of a connection with a cancellation token. - Flow that cancellation token through to the transport so that it can be used to detect when to stop the underlying connection.