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
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop

공개 메소드들

메소드 설명
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