RequestContextExtensionsRegisterOwinSchemeHandlerFactory Method |
Version 130.1.90Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntaxpublic static void RegisterOwinSchemeHandlerFactory(
this IRequestContext requestContext,
string schemeName,
string domainName,
Func<IDictionary<string, Object>, Task> appFunc
)
public:
[ExtensionAttribute]
static void RegisterOwinSchemeHandlerFactory(
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