Represents a protocol handler definition.

interface ProtocolHandler {
    name: string;
    protocol: string;
    uriTemplate: string;
}
Index
name: string

A user-readable title string for the protocol handler. This will be displayed to the user in interface objects as needed.

protocol: string

The protocol the site wishes to handle, specified as a string. For example, you can register to handle SMS text message links by registering to handle the "sms" scheme.

uriTemplate: string

The URL of the handler, as a string. This string should include "%s" as a placeholder which will be replaced with the escaped URL of the document to be handled. This URL might be a true URL, or it could be a phone number, email address, or so forth.