Click or drag to resize
DefaultResourceHandlerFactoryRegisterHandler Method
Version 63.0.0
Register a handler for the specified Url

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
public virtual bool RegisterHandler(
	string url,
	IResourceHandler handler,
	bool oneTimeUse = false
)

Parameters

url
Type: SystemString
url
handler
Type: CefSharpIResourceHandler
handler
oneTimeUse (Optional)
Type: SystemBoolean
Whether or not the handler should be used once (true) or until manually unregistered (false)

Return Value

Type: Boolean
returns true if the Url was successfully parsed into a Uri otherwise false
See Also