peek_plugin_base.agent package¶
Submodules¶
peek_plugin_base.agent.PeekAgentPlatformHookABC module¶
-
class
peek_plugin_base.agent.PeekAgentPlatformHookABC.
PeekAgentPlatformHookABC
[source]¶ Bases:
peek_plugin_base.PeekPlatformCommonHookABC.PeekPlatformCommonHookABC
,peek_plugin_base.PeekPlatformServerInfoHookABC.PeekPlatformServerInfoHookABC
,peek_plugin_base.agent.PeekPlatformAgentHttpHookABC.PeekPlatformAgentHttpHookABC
peek_plugin_base.agent.PeekPlatformAgentHttpHookABC module¶
-
class
peek_plugin_base.agent.PeekPlatformAgentHttpHookABC.
PeekPlatformAgentHttpHookABC
[source]¶ Bases:
object
Peek Agent Service HTTP External API Hook
The methods provided by this class apply to the HTTP service that provides resources (vortex, etc) between the server and the agent, worker and client.
These resources will not be available to the web apps.
-
addAgentExternalApiResource
(pluginSubPath: bytes, resource: txhttputil.site.BasicResource.BasicResource) → None[source]¶ Add Agent Resource
Add a cusotom implementation of a served http resource.
- Parameters
pluginSubPath – The resource path where you want to serve this resource.
resource – The resource to serve.
- Returns
None
-
property
rootAgentResource
¶ Agent Root Resource
This returns the root site resource for this plugin.
-