eris.coap.Store

class eris.coap.Store(url)

A ERIS store that is connected via CoAP

__init__(url)

Initialize connection to CoAP store.

Parameters

url (str) – Store URL (e.g. ‘coap+tcp://example.net/.well-known/eris’)

Methods

__init__(url)

Initialize connection to CoAP store.

close()

Closes connection to the store

get(ref[, block_size])

Gets the block with given reference.

put(ref, block)

Stores a block