3.0.ipv8.REST.isolation_endpoint

Classes

Module Contents

class 3.0.ipv8.REST.isolation_endpoint.IsolationEndpoint

Bases: 3.0.ipv8.REST.base_endpoint.BaseEndpoint[3.0.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: 3.0.ipv8.types.Address) None

Connect to the given exit node address.

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

Register the given bootstrap server.

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

Add an address to a specific IPv8 service.