C# Class Bloom.web.ExternalLinkController

Handles GET requests to open a page, shipped with Bloom in an external browser. For other web resources, just use http/https and the c# Browser class will intercept and open the browser. For html pages shipped with bloom, use this controller by writing
Afficher le fichier Open project: BloomBooks/BloomDesktop

Méthodes publiques

Méthode Description
HandleRequest ( ApiRequest request ) : void

Handles a url starting with api/kPrefix by stripping off that prefix, searching for the file named in the remainder of the url, and opening it in some browser (passing on any anchor specified).

RegisterWithServer ( EnhancedImageServer server ) : void

Private Methods

Méthode Description
TryGetDefaultBrowserPathWindowsOnly ( string &defaultBrowserPath ) : bool

Method Details

HandleRequest() public static méthode

Handles a url starting with api/kPrefix by stripping off that prefix, searching for the file named in the remainder of the url, and opening it in some browser (passing on any anchor specified).
public static HandleRequest ( ApiRequest request ) : void
request Bloom.Api.ApiRequest
Résultat void

RegisterWithServer() public static méthode

public static RegisterWithServer ( EnhancedImageServer server ) : void
server Bloom.Api.EnhancedImageServer
Résultat void