Package 

Class AbstractTargetSession

  • All Implemented Interfaces:

    
    public class AbstractTargetSession
    
                        

    A protocol session, created when attached to a target.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> unsafe() Gives access to all domains of the protocol, regardless of the type of this session.
      final Unit closeWebSocket() Closes the underlying web socket connection, effectively closing every session based on the same web socket connection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • unsafe

         final <Error class: unknown class> 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.