using VNLib.Net.Http; using VNLib.Utils.Logging; namespace VNLib.Plugins.Essentials.Sessions { /// /// Represents a dynamically loadable type that an provide sessions to http connections /// public interface IRuntimeSessionProvider : ISessionProvider { /// /// Called immediatly after the plugin is loaded into the appdomain /// /// The plugin instance that is loading the module /// The localized log provider for the provider void Load(PluginBase plugin, ILogProvider localizedLog); /// /// Determines if the provider can return a session for the connection /// /// The entity to process /// A value indicating if this provider should be called to load a session for bool CanProcess(IHttpEvent entity); } }