Skip to Content
References

src.uagents.mailbox

MailboxClient Objects

class MailboxClient()

Client for interacting with the Agentverse mailbox server.

base_url

@property def base_url()

Property to access the base url of the mailbox server.

Returns: The base url of the mailbox server.

agent_mailbox_key

@property def agent_mailbox_key()

Property to access the agent_mailbox_key of the mailbox server.

Returns: The agent_mailbox_key of the mailbox server.

protocol

@property def protocol()

Property to access the protocol of the mailbox server.

Returns: The protocol of the mailbox server {ws, wss, http, https}

http_prefix

@property def http_prefix()

Property to access the http prefix of the mailbox server.

Returns: The http prefix of the mailbox server {http, https}.

run

async def run()

Runs the mailbox client.

start_polling

async def start_polling()

Runs the mailbox client. Acquires an access token if needed and then starts a polling loop.

process_deletion_queue

async def process_deletion_queue()

Processes the deletion queue. Deletes envelopes from the mailbox server.

Last updated on