UserAgentSentinelMiddleware Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Http.Headers
- Assemblies
- Cuemon.AspNetCore.dll
UserAgentSentinelMiddleware(RequestDelegate, IOptions<UserAgentSentinelOptions>)
Initializes a new instance of the UserAgentSentinelMiddleware class.
public UserAgentSentinelMiddleware(RequestDelegate next, IOptions<UserAgentSentinelOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupIOptions<UserAgentSentinelOptions>The UserAgentSentinelOptions which need to be configured.
UserAgentSentinelMiddleware(RequestDelegate, Action<UserAgentSentinelOptions>)
Initializes a new instance of the UserAgentSentinelMiddleware class.
public UserAgentSentinelMiddleware(RequestDelegate next, Action<UserAgentSentinelOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupAction<UserAgentSentinelOptions>The UserAgentSentinelOptions which need to be configured.