MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / connection_handler

Method connection_handler

dshell/core.py:784–796  ·  view source on GitHub ↗

A placeholder. Plugins will be able to overwrite this to perform custom activites on Connection data. It should return a Connection object for functions further down the chain Args: conn: Connection object

(self, conn: "Connection")

Source from the content-addressed store, hash-verified

782 return
783
784 def connection_handler(self, conn: "Connection"):
785 """
786 A placeholder.
787
788 Plugins will be able to overwrite this to perform custom activites on
789 Connection data.
790
791 It should return a Connection object for functions further down the chain
792
793 Args:
794 conn: Connection object
795 """
796 return conn
797
798 def connection_close_handler(self, conn: "Connection"):
799 """

Callers 1

_handle_connectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected