latest.ipv8.REST.isolation_endpoint

Module Contents

Classes

IsolationEndpoint

This endpoint is responsible for on-demand adding of addresses for different services.

class latest.ipv8.REST.isolation_endpoint.IsolationEndpoint

Bases: latest.ipv8.REST.base_endpoint.BaseEndpoint[latest.ipv8.types.IPv8]

This endpoint is responsible for on-demand adding of addresses for different services.

setup_routes() None

Register the names to make this endpoint callable.

add_exit_node(address: latest.ipv8.types.Address) None

Connect to the given exit node address.

add_bootstrap_server(address: latest.ipv8.types.Address) None

Register the given bootstrap server.

async handle_post(request: aiohttp.abc.Request) latest.ipv8.REST.base_endpoint.Response

Add an address to a specific IPv8 service.