net.defaults package¶
Submodules¶
net.defaults.flags module¶
Default Flags¶
Prebuilt flags for net. Do not modify.
net.defaults.handlers module¶
Default Connected Handlers¶
Prebuilt connected handlers for net. Do not modify.
-
net.defaults.handlers.
info
(*args, **kwargs)[source]¶ Return information about the peer requested.
friendly_information = net.info(peer='somepeer')
Returns: peer.friendly_id
-
net.defaults.handlers.
pass_through
(*args, **kwargs)[source]¶ Used for testing, takes your arguments and passes them back for type testing.
variable = "Test this comes back the way I sent it." response = net.pass_through(variable, peer='somepeer')
Returns: *args, **kwargs