Skip to main content

Crate html_view_shared

Crate html_view_shared 

Source
Expand description

Shared types and protocol definitions for html_view.

This crate defines the wire protocol between the API crate and the Tauri app, including all request and response types that cross the process boundary.

Structs§

BehaviourOptions
Behaviour and security configuration.
DialogOptions
Dialog configuration options.
EnvironmentOptions
Environment and runtime configuration.
ToolbarButton
A button in the custom toolbar.
ToolbarOptions
Toolbar configuration options.
ViewerCommandResponse
Response to a viewer command.
ViewerExitStatus
Exit status returned by the viewer application.
ViewerRequest
Complete request structure sent to the Tauri viewer application.
WindowOptions
Window configuration options.

Enums§

ViewerCommand
Commands that can be sent to a running viewer.
ViewerContent
The type of content to display in the viewer.
ViewerExitReason
The reason the viewer exited.
WindowTheme
Window theme options.

Constants§

PROTOCOL_VERSION
Protocol version for compatibility checking between library and viewer.