/// <summary> /// Adds the HTTP end point. /// </summary> /// <param name="theater">The theater.</param> /// <param name="endpointAddress">The endpoint address.</param> /// <param name="appBuilder">The application builder.</param> public static void AddHttpEndPoint(this Theater theater, Uri endpointAddress, IAppBuilder appBuilder) { var histrioSettings = new TheaterSettings { Theater = theater, EndpointAddress = endpointAddress }; theater.AddEndpoint(endpointAddress); appBuilder.UseTheater(histrioSettings); }