MCPcopy Index your code
hub / github.com/secdev/scapy / vprint

Method vprint

scapy/layers/http.py:1103–1111  ·  view source on GitHub ↗

Verbose print (if enabled)

(self, s="")

Source from the content-addressed store, hash-verified

1101 self.sock.send(HTTP() / resp)
1102
1103 def vprint(self, s=""):
1104 """
1105 Verbose print (if enabled)
1106 """
1107 if self.verb:
1108 if conf.interactive:
1109 log_interactive.info("> %s", s)
1110 else:
1111 print("> %s" % s)
1112
1113 @ATMT.state(initial=1)
1114 def BEGIN(self):

Callers 4

AUTHMethod · 0.95
AUTH_ERRORMethod · 0.95
CLOSEDMethod · 0.95
SERVEMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected