aiocoap.util.linkformat module

This module contains in-place modifications to the LinkHeader module to satisfy RFC6690 constraints.

It is a general nursery for what aiocoap needs of link-format management before any of this is split out into its own package.

class aiocoap.util.linkformat.LinkFormat(links=None)

Bases: link_header.LinkHeader

as_cbor_bytes()
as_json_string()
classmethod from_json_string(encoded)
classmethod from_cbor_bytes(encoded)

Bases: link_header.Link

as_json_data()
as_cbor_data()
classmethod from_json_data(obj)
classmethod from_cbor_data(obj)
aiocoap.util.linkformat.parse(linkformat)