An example of an EDNS message with an extended RCODE.

Class Method bytes Bytes which are expected when encoding an instance constructed using kwargs and which are expected to result in an identical instance when decoded.
Class Method kwargs Keyword constructor arguments which are expected to result in an instance which returns bytes when encoded.
@classmethod
def bytes(cls):

Bytes which are expected when encoding an instance constructed using kwargs and which are expected to result in an identical instance when decoded.

ReturnsThe bytes of a wire encoded message.
@classmethod
def kwargs(cls):

Keyword constructor arguments which are expected to result in an instance which returns bytes when encoded.

ReturnsA dict of keyword arguments.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.