Click or drag to resize

RequestContextExtensionsRegisterOwinSchemeHandlerFactory Method

Version 130.1.90
Extension method to register a instance of the OwinSchemeHandlerFactory with the provided appFunc for the domainName

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public static void RegisterOwinSchemeHandlerFactory(
	this IRequestContext requestContext,
	string schemeName,
	string domainName,
	Func<IDictionary<string, Object>, Task> appFunc
)

Parameters

requestContext  IRequestContext
request context
schemeName  String
scheme name, e.g. http(s). If registering for a custom scheme then that scheme must be already registered. It's recommended that you use https or http with a domain name rather than using a custom scheme.
domainName  String
Optional domain name
appFunc  FuncIDictionaryString, Object, Task
OWIN AppFunc as defined at owin.org

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRequestContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also