[][src]Crate webbrowser

Open URLs in the web browsers available on a platform.

Inspired by the webbrowser python library.

Currently state of platform support is:

Important note:

Examples

use webbrowser;

if webbrowser::open("http://github.com").is_ok() {
    // ...
}

Structs

ParseBrowserError

The Error type for parsing a string into a Browser.

Enums

Browser

Browser types available

Functions

open

Opens the URL on the default browser of this platform

open_browser

Opens the specified URL on the specific browser (if available) requested. Return semantics are the same as for open.