Skip to main content

Crate lingxia_devtool_protocol

Crate lingxia_devtool_protocol 

Source

Modules§

handlers
session_test
Wire types for the session.test.* devtool handlers.

Structs§

DevtoolsLogMessage

Enums§

DevtoolsLogLevel
DevtoolsLogSource
DevtoolsPeerRole
DevtoolsWireMessage

Functions§

token_from_ws_url
Extract the session auth token from a dev websocket URL’s ?token= query parameter. The tokened URL is the single credential artifact: the server prints it, and every peer parses the token back out to present in Hello.
ws_url_with_token
Append a ?token= query to a dev websocket URL. Authority-only URLs (ws://host:port) get an explicit / first so naive authority parsers (split('/')) never see the query glued to the port.