MCPcopy Create free account
hub / github.com/rthalley/dnspython / from_wire_parser

Method from_wire_parser

dns/edns.py:446–449  ·  view source on GitHub ↗
(
        cls, otype: OptionType | str, parser: dns.wire.Parser
    )

Source from the content-addressed store, hash-verified

444
445 @classmethod
446 def from_wire_parser(
447 cls, otype: OptionType | str, parser: dns.wire.Parser
448 ) -> Option:
449 return cls(parser.get_remaining())
450
451
452class CookieOption(Option):

Callers

nothing calls this directly

Calls 1

get_remainingMethod · 0.45

Tested by

no test coverage detected