// This file contains auto-generated code.

namespace Microsoft
{
    namespace AspNetCore
    {
        namespace SignalR
        {
            // Generated from `Microsoft.AspNetCore.SignalR.HubException` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
            public class HubException : System.Exception
            {
                public HubException() => throw null;
                public HubException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
                public HubException(string message) => throw null;
                public HubException(string message, System.Exception innerException) => throw null;
            }

            // Generated from `Microsoft.AspNetCore.SignalR.IInvocationBinder` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
            public interface IInvocationBinder
            {
                System.Collections.Generic.IReadOnlyList<System.Type> GetParameterTypes(string methodName);
                System.Type GetReturnType(string invocationId);
                System.Type GetStreamItemType(string streamId);
            }

            // Generated from `Microsoft.AspNetCore.SignalR.ISignalRBuilder` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
            public interface ISignalRBuilder
            {
                Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; }
            }

            namespace Protocol
            {
                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CancelInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class CancelInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage
                {
                    public CancelInvocationMessage(string invocationId) : base(default(string)) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CloseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class CloseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public bool AllowReconnect { get => throw null; }
                    public CloseMessage(string error) => throw null;
                    public CloseMessage(string error, bool allowReconnect) => throw null;
                    public static Microsoft.AspNetCore.SignalR.Protocol.CloseMessage Empty;
                    public string Error { get => throw null; }
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class CompletionMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage
                {
                    public CompletionMessage(string invocationId, string error, object result, bool hasResult) : base(default(string)) => throw null;
                    public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage Empty(string invocationId) => throw null;
                    public string Error { get => throw null; }
                    public bool HasResult { get => throw null; }
                    public object Result { get => throw null; }
                    public override string ToString() => throw null;
                    public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithError(string invocationId, string error) => throw null;
                    public static Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage WithResult(string invocationId, object payload) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public static class HandshakeProtocol
                {
                    public static System.ReadOnlySpan<System.Byte> GetSuccessfulHandshake(Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol) => throw null;
                    public static bool TryParseRequestMessage(ref System.Buffers.ReadOnlySequence<System.Byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage requestMessage) => throw null;
                    public static bool TryParseResponseMessage(ref System.Buffers.ReadOnlySequence<System.Byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage) => throw null;
                    public static void WriteRequestMessage(Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage requestMessage, System.Buffers.IBufferWriter<System.Byte> output) => throw null;
                    public static void WriteResponseMessage(Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage, System.Buffers.IBufferWriter<System.Byte> output) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class HandshakeRequestMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public HandshakeRequestMessage(string protocol, int version) => throw null;
                    public string Protocol { get => throw null; }
                    public int Version { get => throw null; }
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class HandshakeResponseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public static Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage Empty;
                    public string Error { get => throw null; }
                    public HandshakeResponseMessage(string error) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public abstract class HubInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public System.Collections.Generic.IDictionary<string, string> Headers { get => throw null; set => throw null; }
                    protected HubInvocationMessage(string invocationId) => throw null;
                    public string InvocationId { get => throw null; }
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public abstract class HubMessage
                {
                    protected HubMessage() => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public abstract class HubMethodInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage
                {
                    public object[] Arguments { get => throw null; }
                    protected HubMethodInvocationMessage(string invocationId, string target, object[] arguments) : base(default(string)) => throw null;
                    protected HubMethodInvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds) : base(default(string)) => throw null;
                    public string[] StreamIds { get => throw null; }
                    public string Target { get => throw null; }
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolConstants` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public static class HubProtocolConstants
                {
                    public const int CancelInvocationMessageType = default;
                    public const int CloseMessageType = default;
                    public const int CompletionMessageType = default;
                    public const int InvocationMessageType = default;
                    public const int PingMessageType = default;
                    public const int StreamInvocationMessageType = default;
                    public const int StreamItemMessageType = default;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.HubProtocolExtensions` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public static class HubProtocolExtensions
                {
                    public static System.Byte[] GetMessageBytes(this Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol hubProtocol, Microsoft.AspNetCore.SignalR.Protocol.HubMessage message) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public interface IHubProtocol
                {
                    System.ReadOnlyMemory<System.Byte> GetMessageBytes(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message);
                    bool IsVersionSupported(int version);
                    string Name { get; }
                    Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get; }
                    bool TryParseMessage(ref System.Buffers.ReadOnlySequence<System.Byte> input, Microsoft.AspNetCore.SignalR.IInvocationBinder binder, out Microsoft.AspNetCore.SignalR.Protocol.HubMessage message);
                    int Version { get; }
                    void WriteMessage(Microsoft.AspNetCore.SignalR.Protocol.HubMessage message, System.Buffers.IBufferWriter<System.Byte> output);
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class InvocationBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage
                {
                    public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; }
                    public InvocationBindingFailureMessage(string invocationId, string target, System.Runtime.ExceptionServices.ExceptionDispatchInfo bindingFailure) : base(default(string)) => throw null;
                    public string Target { get => throw null; }
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class InvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage
                {
                    public InvocationMessage(string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null;
                    public InvocationMessage(string invocationId, string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null;
                    public InvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds) : base(default(string), default(string), default(object[])) => throw null;
                    public override string ToString() => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.PingMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class PingMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public static Microsoft.AspNetCore.SignalR.Protocol.PingMessage Instance;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class StreamBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
                {
                    public System.Runtime.ExceptionServices.ExceptionDispatchInfo BindingFailure { get => throw null; }
                    public string Id { get => throw null; }
                    public StreamBindingFailureMessage(string id, System.Runtime.ExceptionServices.ExceptionDispatchInfo bindingFailure) => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class StreamInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage
                {
                    public StreamInvocationMessage(string invocationId, string target, object[] arguments) : base(default(string), default(string), default(object[])) => throw null;
                    public StreamInvocationMessage(string invocationId, string target, object[] arguments, string[] streamIds) : base(default(string), default(string), default(object[])) => throw null;
                    public override string ToString() => throw null;
                }

                // Generated from `Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage` in `Microsoft.AspNetCore.SignalR.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
                public class StreamItemMessage : Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage
                {
                    public object Item { get => throw null; set => throw null; }
                    public StreamItemMessage(string invocationId, object item) : base(default(string)) => throw null;
                    public override string ToString() => throw null;
                }

            }
        }
    }
}
