SignalR Hub

Server is implemented as a SignalR Core Hub and it handles queries, mutations and subscriptions. This projects provides an Apollo Link implementation to be used with the provided hub.

GraphQL Server

Configure SignalR server


        private static void AddSignalRServer(IServiceCollection services)
        {
            // Configure Tanka server
            services.AddSignalR()
                .AddTankaGraphQL();
        }

Use SignalR server


        private static void UseSignalRServer(IApplicationBuilder app)
        {
            // add SignalR
            app.UseEndpoints(routes => { routes.MapTankaGraphQLSignalR("/graphql/hub"); });
        }