C# Класс 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
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
TryGetDefaultBrowserPathWindowsOnly ( string &defaultBrowserPath ) : bool

Описание методов

HandleRequest() публичный статический Метод

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
Результат void

RegisterWithServer() публичный статический Метод

public static RegisterWithServer ( EnhancedImageServer server ) : void
server Bloom.Api.EnhancedImageServer
Результат void