Click or drag to resize

LegacyResourceHandlerFactoryRegisterHandler Method

Version 73.1.130
Register a handler for the specified Url

Namespace:  CefSharp.Lagacy
Assembly:  CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.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