-
public class AbstractTargetSessionA protocol session, created when attached to a target.
-
-
Method Summary
Modifier and Type Method Description final AllDomainsTargetunsafe()Gives access to all domains of the protocol, regardless of the type of this session. final UnitcloseWebSocket()Closes the underlying web socket connection, effectively closing every session based on the same web socket connection. -
-
Method Detail
-
unsafe
final AllDomainsTarget unsafe()
Gives access to all domains of the protocol, regardless of the type of this session.
This should only be used as a workaround when a domain is missing in the current typed API, but is known to be available.
If you need to use this method, please also open an issue so that the properly typed API is added: https://github.com/joffrey-bion/chrome-devtools-kotlin/issues
-
closeWebSocket
final Unit closeWebSocket()
Closes the underlying web socket connection, effectively closing every session based on the same web socket connection.
-
-
-
-