Click or drag to resize

RequestContextExtensionsRegisterOwinSchemeHandlerFactory Method

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

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


Type: CefSharpIRequestContext
request context
Type: SystemString
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.
Type: SystemString
Optional domain name
Type: SystemFuncIDictionaryString, Object, Task
OWIN AppFunc as defined at

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