dotnet-core/release-notes/3.0/api-diff/Asp.Net/3.0.0_Microsoft.AspNetCore.SignalR.Common.md
2019-10-10 13:57:00 -07:00

1.4 KiB

Microsoft.AspNetCore.SignalR.Common

 {
     namespace Microsoft.AspNetCore.SignalR {
         public interface IInvocationBinder {
+            Type GetStreamItemType(string streamId);
         }
     }
     namespace Microsoft.AspNetCore.SignalR.Protocol {
         public static class HandshakeProtocol {
-            public static ReadOnlyMemory<byte> SuccessHandshakeData;

+            public static ReadOnlySpan<byte> GetSuccessfulHandshake(IHubProtocol protocol);
         }
         public abstract class HubMethodInvocationMessage : HubInvocationMessage {
+            protected HubMethodInvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds);
+            public string[] StreamIds { get; }
         }
         public class InvocationMessage : HubMethodInvocationMessage {
+            public InvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds);
         }
+        public class StreamBindingFailureMessage : HubMessage {
+            public StreamBindingFailureMessage(string id, ExceptionDispatchInfo bindingFailure);
+            public ExceptionDispatchInfo BindingFailure { get; }
+            public string Id { get; }
+        }
         public class StreamInvocationMessage : HubMethodInvocationMessage {
+            public StreamInvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds);
         }
     }
 }