Skip to main content

register_land_service

Function register_land_service 

Source
pub fn register_land_service(name: &str, port: u16)
Expand description

Register a service with the land:// scheme

This helper function makes it easy to register local services.

§Parameters

  • name: Domain name (e.g., “code.editor.land”)
  • port: Local port where the service is listening