MCPcopy Create free account
hub / github.com/secdev/scapy / h2i

Method h2i

scapy/contrib/http2.py:1248–1250  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

1246 return fmt.format(x.origin())
1247
1248 def h2i(self, pkt, x):
1249 # type: (packet.Packet, str) -> HPackStringsInterface
1250 return HPackLiteralString(x)
1251
1252 def m2i(self, pkt, x):
1253 # type: (packet.Packet, str) -> HPackStringsInterface

Callers

nothing calls this directly

Calls 1

HPackLiteralStringClass · 0.85

Tested by

no test coverage detected